backend::service::drawings

Function update

source
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.