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