Function backend::service::map::create

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

Create a new map in the database.

§Errors

If the connection to the database could not be established.