Exemplo n.º 1
0
 public void RemoveStandardInclusion(StandardInclusionResource.StandardInclusionPAG s)
 {
     client = new SQSAdminServiceClient();
     client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint);
     client.SQSAdmin_StandardInclusion_RemoveStandardInclusion(s.StandardInclusionID);
     client.Close();
 }
Exemplo n.º 2
0
        public void SaveStandardInclusions(StandardInclusionResource.StandardInclusionPAG s)
        {
            int active = 0;

            client = new SQSAdminServiceClient();
            client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint);
            if (s.Active)
            {
                active = 1;
            }

            client.SQSAdmin_StandardInclusion_AddEditStandardInclusion(s.StandardInclusionID, s.PAGID, s.SIBrandID, s.SIRegionGroupID, s.Quantity, active, CommonVariables.UserCode);
            client.Close();
        }