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