pub async fn archive(
id: i32,
user_id: Uuid,
archive_seed: ArchiveSeedDto,
app_data: &Data<AppDataInner>,
) -> Result<SeedDto, ServiceError>
Expand description
Archive or unarchive a seed in the database.
§Errors
If the connection to the database could not be established.