pub async fn update(
dto: UpdateDrawingsDto,
app_data: &Data<AppDataInner>
) -> 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,
app_data: &Data<AppDataInner>
) -> Result<Vec<DrawingDto>, ServiceError>
Update the drawing in the database.
If the connection to the database could not be established.