Function backend::service::shadings::create

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

Create a new shading in the database.

§Errors

If the connection to the database could not be established.