public static Country GetCountryByID(int id) { Country country = new Country(); SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); country = sqlCountryProvider.GetCountryByID(id); return country; }
public static List<Country> GetAllCountries() { List<Country> countries = new List<Country>(); SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); countries = sqlCountryProvider.GetAllCountries(); return countries; }
public static Country GetCountryByID(int id) { Country country = new Country(); SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); country = sqlCountryProvider.GetCountryByID(id); return(country); }
public static List <Country> GetAllCountries() { List <Country> countries = new List <Country>(); SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); countries = sqlCountryProvider.GetAllCountries(); return(countries); }
public static bool DeleteCountry(int countryID) { SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); return(sqlCountryProvider.DeleteCountry(countryID)); }
public static bool UpdateCountry(Country country) { SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); return(sqlCountryProvider.UpdateCountry(country)); }
public static int InsertCountry(Country country) { SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); return(sqlCountryProvider.InsertCountry(country)); }
public static bool UpdateCountry(Country country) { SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); return sqlCountryProvider.UpdateCountry(country); }
public static int InsertCountry(Country country) { SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); return sqlCountryProvider.InsertCountry(country); }
public static bool DeleteCountry(int countryID) { SqlCountryProvider sqlCountryProvider = new SqlCountryProvider(); return sqlCountryProvider.DeleteCountry(countryID); }