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