コード例 #1
0
        public IActionResult Index()
        {
            var list     = _SysManagerService.GetList();
            var menulist = _SysMenuService.GetList();

            return(View());
        }
コード例 #2
0
 public IActionResult Edit(string id)
 {
     ViewBag.Menulist = _ISysMenuServices.GetList();
     if (!string.IsNullOrEmpty(id))
     {
         var model = _ISysButtonServices.Get(id);
         return(View(model));
     }
     else
     {
         return(View());
     }
 }
コード例 #3
0
 public List <SysMenu> GetMenuList()
 {
     return(_ISysMenuServices.Nesting(_ISysMenuServices.GetList(true)));
 }