async function addWriterService(service) {
    const [writer_profile_id] = await db("writer_services_offered").insert(
        service,
        "writer_profile_id"
    );
    return findWriterServicesById(writer_profile_id);
}
//add new service to writer profile, returns updated list of writer services.
add new service to writer profile, returns updated list of writer services.
add new service to writer profile returns updated list of writer services .
async function addWriterService(service) {
    const [writer_profile_id] = await db("writer_services_offered").insert(
        service,
        "writer_profile_id"
    );
    return findWriterServicesById(writer_profile_id);
}
async function addWriterService ( service ) { const [ writer_profile_id ] = await db ( "writer_services_offered" ) . insert ( service , "writer_profile_id" ) ; return findWriterServicesById ( writer_profile_id ) ; }
add new service to writer profile, returns updated list of writer services.
add new service to writer profile returns updated list of writer services .