pub async fn create(
area_kind: AreaKind,
dtos: Vec<NewAreaDto>,
pool: &SharedPool,
) -> Result<Vec<AreaDto>, ServiceError>
Expand description
Create a new area in the database.
§Errors
If the connection to the database could not be established.