create

Function create 

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

Save new drawing.

ยงErrors

If the connection to the database could not be established.