public async Task <IActionResult> PutRegion(int id, Region region)
        {
            if (id != region.Id)
            {
                return(BadRequest());
            }

            var regionValidator  = new RegionValidator();
            var resoultValidator = regionValidator.Validate(region);

            if (!resoultValidator.IsValid)
            {
                return(BadRequest(resoultValidator.Errors));
            }

            var result = await _regionsService.PutRegion(id, region);

            if (result)
            {
                return(Ok());
            }

            return(NoContent());
        }