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.
pub async fn create(
dto: Vec<NewShadingDto>,
pool: &SharedPool,
) -> Result<Vec<ShadingDto>, ServiceError>
Create a new shading in the database.
If the connection to the database could not be established.