Esempio n. 1
0
        public async Task <ActionResult> CreateMap([FromBody] CreateMapRequest requestBody)
        {
            var result = await mapsService.CreateGalleryMap(requestBody.Map);

            return(CreatedAtAction(nameof(GetMapByShortName), new { shortName = requestBody.Map.ShortName }, $"Created map {requestBody.Map.ShortName}"));
        }