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.
pub async fn create(
new_seed: NewSeedDto,
user_id: Uuid,
pool: &SharedPool,
) -> Result<SeedDto, ServiceError>
Create a new seed in the database.
If the connection to the database could not be established.