pub async fn update(
dto: UpdateDrawingsDto,
pool: &SharedPool,
) -> Result<Vec<DrawingDto>, ServiceError>
Expand description
Update the drawing in the database.
§Errors
If the connection to the database could not be established.
pub async fn update(
dto: UpdateDrawingsDto,
pool: &SharedPool,
) -> Result<Vec<DrawingDto>, ServiceError>
Update the drawing in the database.
If the connection to the database could not be established.