/// <summary> /// Get AuthorizationGroupDCs from query service /// </summary> /// <param name="client"></param> private void GetAuthGroups(IWorkflowsQueryService client) { AuthorizationGroupGetRequestDC request = new AuthorizationGroupGetRequestDC(); request.SetIncaller(); AuthorizationGroupGetReplyDC reply = client.GetAuthorizationGroups(request); if (reply != null && reply.StatusReply != null) reply.StatusReply.CheckErrors(); this.AuthGroups = reply.AuthorizationGroups; if (this.workflowType != null) this.SelectedAuthGroup = this.AuthGroups.SingleOrDefault(a => a.AuthGroupId == this.workflowType.AuthGroupId); else this.SelectedAuthGroup = new AuthorizationGroupDC(); }