Function backend::service::areas::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.