This commit is contained in:
2026-05-31 20:24:10 +02:00
parent 49cd648d5b
commit a1e8d34210
27 changed files with 426 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
use anyhow::Error;
use crate::domain::typ::model;
use super::Service;
impl Service {
pub async fn typ_alle(&self) -> Result<Vec<model::Typ>, Error> {
let typ = self.repo.typ_alle(&self.db).await?;
Ok(typ)
}
}