常用方法
常用方法
常用方法
常用方法
public async Task <ActionResult> DeleteCountryInfo(string country) { try { _countryRepository.DeleteCountryInfo(country); await _countryRepository.Save(); return(NoContent()); } catch { return(BadRequest()); } }