示例#1
0
        public async Task <ActionResult> DeleteCountryInfo(string country)
        {
            try
            {
                _countryRepository.DeleteCountryInfo(country);
                await _countryRepository.Save();

                return(NoContent());
            }
            catch
            {
                return(BadRequest());
            }
        }