pub async fn update(
dto: UpdateShadingDto,
pool: &SharedPool,
) -> 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,
pool: &SharedPool,
) -> Result<Vec<ShadingDto>, ServiceError>
Update the shading in the database.
If the connection to the database could not be established.