public List <APP_PAGES> GetRecentPages(string appUser) { List <APP_RECENT_PAGES> rpList = dal.GetRecentPages(appUser); List <string> names = new List <string>(); foreach (var item in rpList) { names.Add(item.PAGE_NAME); } APP_PAGES_DAL pDal = new APP_PAGES_DAL(dal.db); List <APP_PAGES> pList = pDal.GetPagesByNames(names); return(pList); }
public APP_PAGES_BLL(CHubEntities db) { dal = new APP_PAGES_DAL(db); }
public APP_PAGES_BLL() { dal = new APP_PAGES_DAL(); }