Пример #1
0
        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);
        }
Пример #2
0
 public APP_PAGES_BLL(CHubEntities db)
 {
     dal = new APP_PAGES_DAL(db);
 }
Пример #3
0
 public APP_PAGES_BLL()
 {
     dal = new APP_PAGES_DAL();
 }