Beispiel #1
0
 public ActionResult <Countries> GetByCountriesCode(string country_code)
 {
     // return Countries_Code;
     if (!_CountriesRepository.TryGetByCountry(country_code, out var Countries))
     {
         return(NotFound());
     }
     return(Ok(Countries));
 }