Beispiel #1
0
        public async Task <IActionResult> Create([FromBody] RegionM data)
        {
            var region = await _regionsService.CreateAsync(data);

            return(Created($"api/regions/{region.Id}", region));
        }