public PartialViewResult TokenBoxActionsPartial([ModelBinder(typeof(DevExpressEditorsBinder))] IEnumerable <UserRolesInActions> userRolesInActions) { var model = new ControllerActionHelper().ActionNames(); ViewBag.ActionNames = userRolesInActions; return(PartialView(model)); }
public PartialViewResult CboControllersPartial([ModelBinder(typeof(DevExpressEditorsBinder))] string controllerName) { ViewBag.ControllerName = controllerName; var model = new ControllerActionHelper().ControllerNames().ToList(); return(PartialView(model)); }