public List <Heading> GetAll()
 {
     return(_headingDal.List());
 }
 public List <Heading> fetchHeadingList()
 {
     return(_headingDal.List());
 }
 public List <Heading> GetHeadingByWriter(int id)
 {
     return(_headingDal.List(x => x.WriterID == id));
 }
 public List <Heading> GetList()
 {
     return(_HeadingDal.List());
 }
 public List <Heading> Get(int id)
 {
     return(_headingDal.List(x => x.CategoryId == id));
 }
Exemple #6
0
 public int GetCountByCategory(int categoryID)
 {
     return(_headingDal.List(x => x.CategoryID == categoryID).Count);
 }
Exemple #7
0
 public List <Heading> GetHeadingByWriter(int id)
 {
     return(_headingDal.List(h => h.WriterId == id));
 }
Exemple #8
0
 public int FindCategoryById(int id)
 {
     return(headingDal.List(x => x.CategoryId == id).Count);
 }