Function backend::service::seed::create

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

Create a new seed in the database.

§Errors

If the connection to the database could not be established.