public async Task <IActionResult> CreateCountryRegion([FromBody] Person.CountryRegion value)
        {
            _db.Person_CountryRegion.Add(value);
            await _db.SaveChangesAsync();

            return(Ok(value));
        }
        public async Task <IActionResult> EditCountryRegion(string countryRegionCode, [FromBody] Person.CountryRegion value)
        {
            var existing = await _db.Person_CountryRegion.FirstOrDefaultAsync(x => x.CountryRegionCode == countryRegionCode);

            if (existing == null)
            {
                return(NotFound());
            }

            existing.CountryRegionCode = value.CountryRegionCode;
            existing.Name         = value.Name;
            existing.ModifiedDate = value.ModifiedDate;

            _db.Person_CountryRegion.Update(existing);
            await _db.SaveChangesAsync();

            return(NoContent());
        }