use super::{dto::*, repo}; use crate::{error::AppResult, shared::ImageRef, state::AppState}; pub async fn handle(state: &AppState, q: &ListImagesQuery) -> AppResult> { Ok(repo::list(&state.db, q).await?) }