public List <Content> GetContentsByHeadingID(int hid) { return(_ContentDAL.List(x => x.HeadingID == hid)); }
public List <Content> GetListByHeadingId(int id) { return(_contentDAL.List(x => x.HeadingId == id)); }
public List <Content> GetList(string p) { return(_contentDAL.List(x => x.ContentValue.Contains(p) || p == null)); }