Function backend::service::shadings::create

source ·
pub async fn create(
    dto: Vec<NewShadingDto>,
    pool: &SharedPool,
) -> Result<Vec<ShadingDto>, ServiceError>
Expand description

Create a new shading in the database.

§Errors

If the connection to the database could not be established.