pub async fn create(
map_id: i32,
new_layer: LayerDto,
pool: &SharedPool,
) -> Result<LayerDto, ServiceError>Expand description
Create a new layer in the database.
ยงErrors
If the connection to the database could not be established.
pub async fn create(
map_id: i32,
new_layer: LayerDto,
pool: &SharedPool,
) -> Result<LayerDto, ServiceError>Create a new layer in the database.
If the connection to the database could not be established.