public FrameworkMenuVM() { RoleListVM = new FrameworkRoleListVM(); AllActions = new List <ComboSelectListItem>(); AllModules = new List <ComboSelectListItem>(); SelectedRolesIds = new List <string>(); }
public FrameworkMenuVM() { UserListVM = new FrameworkUserBaseListVM(); RoleListVM = new FrameworkRoleListVM(); AllActions = new List <ComboSelectListItem>(); AllModules = new List <ComboSelectListItem>(); SelectedRolesIDs = new List <Guid>(); }
public IActionResult ExportExcel(FrameworkRoleListVM vm) { return(vm.GetExportData()); }
protected override void InitVM() { RoleListVM = Wtm.CreateVM <FrameworkRoleListVM>(); }
public MyUserVM() { SetInclude(x => x.UserRoles); SetInclude(x => x.UserGroups); RoleListVM = new FrameworkRoleListVM(); }
public string Search(FrameworkRoleListVM vm) { return(vm.GetJson(false)); }