Example #1
0
        public async Task <ActionResult <MapMarkerResponse> > PostCreateMapMarkerAsync(
            [FromServices] NaheulbookExecutionContext executionContext,
            [FromRoute] int mapLayerId,
            [FromBody] MapMarkerRequest request
            )
        {
            var map = await _mapService.CreateMapMarkerAsync(executionContext, mapLayerId, request);

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