public ActionResult AjaxRoleModule() { var model = new ModelDNUserItem { Item = _dnUserApi.GetItemModuleById(GuiId.FirstOrDefault()), ActiveRoleItems = _dnActiveApi.GetAll() }; ViewBag.Action = "RoleModule"; ViewBag.ActionText = ActionText; return(View(model)); }