Exemplo n.º 1
0
 /// <summary>
 /// Check if the country user has typed in exists in datastore
 /// </summary>
 /// <param name="country">Country Name</param>
 /// <returns></returns>
 public bool CheckCountryExists(string country)
 {
     try
     {
         return(_repo.CheckCountryExist(country));
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }
Exemplo n.º 2
0
 public bool CheckCountryExist(Country country)
 {
     return(_countryRepository.CheckCountryExist(country));
 }