pub fn from_update_area_dto_to_update_shading(
dto: UpdateAreaDto,
) -> Result<Vec<UpdateShading>, ServiceError>Expand description
Maps UpdateAreaDto to UpdateShadings.
Precondition is that the dto has area_kind == AreaKind::Shade.
ยงErrors
- Returns an error if the
dtohas a differentarea_kind.