Example #1
0
        public void SaveSupplier(Supplier s)
        {
            int active = 0;

            if (s.Active)
            {
                active = 1;
            }
            client = new SQSAdminServiceClient();
            client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint);
            client.SQSAdmin_StudioM_AddEditSupplier(s.SupplierID, s.StateID, s.SupplierName, active);
            client.Close();
        }