backend::service::drawings

Function create

source
pub async fn create(
    dtos: Vec<DrawingDto>,
    pool: &SharedPool,
) -> Result<Vec<DrawingDto>, ServiceError>
Expand description

Save new drawing.

ยงErrors

If the connection to the database could not be established.