Esempio 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;
     }
 }
Esempio n. 2
0
 public bool CheckCountryExist(Country country)
 {
     return(_countryRepository.CheckCountryExist(country));
 }