backend::service::seed

Function 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.