pub async fn delete_by_id(
    map_id: i32,
    layer_id: Uuid,
    app_data: &Data<AppDataInner>
) -> Result<(), ServiceError>
Expand description

Delete the layer in the database.

Errors

If the connection to the database could not be established.