Function backend::service::map::create

source ·
pub async fn create(
    new_map: NewMapDto,
    user_id: Uuid,
    app_data: &Data<AppDataInner>
) -> Result<MapDto, ServiceError>
Expand description

Create a new map in the database.

Errors

If the connection to the database could not be established.