backend::service::areas

Function update

source
pub async fn update(
    area_kind: AreaKind,
    dto: UpdateAreaDto,
    pool: &SharedPool,
) -> Result<Vec<AreaDto>, ServiceError>
Expand description

Update the areas in the database.

ยงErrors

If the connection to the database could not be established.