using (var svc = new AdministrationService.AdministrationClient())
{
var request = new AdministrationService.ManagementGroupRequestOfPartnerOutletSearchFilter();
request.Token = "Token";
request.ManagementGroup = "Management group";
var partnerOutletSearchFilter = new AdministrationService.PartnerOutletSearchFilter();
partnerOutletSearchFilter.Active = null;
partnerOutletSearchFilter.Filter = string.Empty;
partnerOutletSearchFilter.Visible = null;
partnerOutletSearchFilter.PageNumber = 1;
partnerOutletSearchFilter.PageSize = 10;
partnerOutletSearchFilter.Partner_RSN = Guid.Empty;
request.Value = partnerOutletSearchFilter;
AdministrationService.ResultOfPagedCollectionOfPartnerOutletStub result = svc.SelectPartnersAndOutlets(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}