Example #1
0
        public ActionResult MenuDefault(bool check)
        {
            var ltsSourceModule = SystemActionItem.IsAdmin ? _adminDa.getAllListSimple() : _adminDa.GetAllModuleByUserName(User.Identity.Name);
            var list            = GetLeftMenu(ltsSourceModule);
            var module          = new ModelModuleadminItem
            {
                check    = check,
                ListItem = list.Where(m => m.PrarentID == 1),
            };

            return(PartialView(module));
        }