Beispiel #1
0
        public ActionResult LeftMenu()
        {
            //ViewBag.EmployeeImage = objMenuDAL.GetEmployeePhoto(objMenuModel);
            ViewBag.MainMenuList   = MenuMainServices.GetAll();
            ViewBag.SubMenuList    = MenuSubServices.GetAll();
            ViewBag.SubSubMenuList = MenuSubSubServices.GetAll();


            return(PartialView("_LeftMenuPartial"));
        }
Beispiel #2
0
        // GET: MenuSub
        public ActionResult Index()
        {
            var data = MenuSubServices.GetAll();

            return(View(data));
        }