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)); }
public int GetCountByCategory(int categoryID) { return(_headingDal.List(x => x.CategoryID == categoryID).Count); }
public List <Heading> GetHeadingByWriter(int id) { return(_headingDal.List(h => h.WriterId == id)); }
public int FindCategoryById(int id) { return(headingDal.List(x => x.CategoryId == id).Count); }