示例#1
0
        public ActionResult AjaxRoleModule()
        {
            var model = new ModelDNUserItem
            {
                Item            = _dnUserApi.GetItemModuleById(GuiId.FirstOrDefault()),
                ActiveRoleItems = _dnActiveApi.GetAll()
            };

            ViewBag.Action     = "RoleModule";
            ViewBag.ActionText = ActionText;
            return(View(model));
        }