Function backend::service::seed::create

source ·
pub async fn create(
    new_seed: NewSeedDto,
    user_id: Uuid,
    app_data: &Data<AppDataInner>,
) -> Result<SeedDto, ServiceError>
Expand description

Create a new seed in the database.

§Errors

If the connection to the database could not be established.