public ActionResult LeftMenu() { //ViewBag.EmployeeImage = objMenuDAL.GetEmployeePhoto(objMenuModel); ViewBag.MainMenuList = MenuMainServices.GetAll(); ViewBag.SubMenuList = MenuSubServices.GetAll(); ViewBag.SubSubMenuList = MenuSubSubServices.GetAll(); return(PartialView("_LeftMenuPartial")); }
// GET: MenuSub public ActionResult Index() { var data = MenuSubServices.GetAll(); return(View(data)); }