Example #1
0
 public IQueryable<brdhc_JobCategory> getCategoryByID(Guid catID)
 {
     careerCategoryDataContext objCat = new careerCategoryDataContext();
     var singleCat = objCat.brdhc_JobCategories.Where(x => x.JobCategoryId == catID).Select(x => x);
     return singleCat;
 }
Example #2
0
 public IQueryable<brdhc_JobCategory> getCategories()
 {
     careerCategoryDataContext objCat = new careerCategoryDataContext();
     var allCats = objCat.brdhc_JobCategories.Select(x => x);
     return allCats;
 }