public void Load(PartyDTO partyDto, bool isgroup, string groupId) { IsGroup = isgroup; Party = partyDto; ShowBusyIndicator(); userService.GetAllActionTypes((res, exp) => appController.BeginInvokeOnDispatcher(() => { HideBusyIndicator(); if (exp == null) { PrivilegeList = res.Select(a => new Privilege() { ActionType = a, IsGrant = false }).ToList(); setPartyCustomActions(isgroup, groupId); } else { appController.HandleException(exp); } })); }