コード例 #1
0
        public PartialViewResult TokenBoxActionsPartial([ModelBinder(typeof(DevExpressEditorsBinder))] IEnumerable <UserRolesInActions> userRolesInActions)
        {
            var model = new ControllerActionHelper().ActionNames();

            ViewBag.ActionNames = userRolesInActions;
            return(PartialView(model));
        }
コード例 #2
0
        public PartialViewResult CboControllersPartial([ModelBinder(typeof(DevExpressEditorsBinder))] string controllerName)
        {
            ViewBag.ControllerName = controllerName;
            var model = new ControllerActionHelper().ControllerNames().ToList();

            return(PartialView(model));
        }