public IQueryable <Country> GetAll() { CountryDAL dalObject = new CountryDAL(); IQueryable <Country> results = dalObject.GetAll(); return(results); }
static public List <Country> GetAllBind() { DataTable dt = CountryDAL.GetAll(); List <Country> CountriesList = GenericConvertDataTableToList.ConvertDataTable <Country>(dt); return(CountriesList); }
public DataTable GetAll() { try { CountryDAL countryDAL = new CountryDAL(); return(countryDAL.GetAll()); } catch (Exception) { throw; } }
public static DataTable GetAll() { return(CountryDAL.GetAll()); }
public IEnumerable <Country> GetAll() { return(_countryDal.GetAll()); }