pub async fn update(
dto: UpdateShadingDto,
app_data: &Data<AppDataInner>
) -> Result<Vec<ShadingDto>, ServiceError>
Expand description
Update the shading in the database.
Errors
If the connection to the database could not be established.
pub async fn update(
dto: UpdateShadingDto,
app_data: &Data<AppDataInner>
) -> Result<Vec<ShadingDto>, ServiceError>
Update the shading in the database.
If the connection to the database could not be established.