Files
axum-async-graphql/src/domain/typ/service/typ_alle.rs
2026-05-31 20:24:10 +02:00

13 lines
236 B
Rust

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)
}
}