Example #1
0
        public async Task <ActionResult <MapLayerResponse> > PutEditMapMarkerAsync(
            [FromServices] NaheulbookExecutionContext executionContext,
            [FromRoute] int mapLayerId,
            [FromBody] MapLayerRequest request
            )
        {
            var map = await _mapService.EditMapLayerAsync(executionContext, mapLayerId, request);

            return(_mapper.Map <MapLayerResponse>(map));
        }