Function backend::service::map::find_by_id

source ·
pub async fn find_by_id(
    id: i32,
    app_data: &Data<AppDataInner>,
) -> Result<MapDto, ServiceError>
Expand description

Find a map by id in the database.

§Errors

If the connection to the database could not be established.