예제 #1
0
        public void SaveSupplierBrand(SupplierBrandResource.SupplierBrand s)
        {
            int active = 0;

            if (s.Active)
            {
                active = 1;
            }
            client = new SQSAdminServiceClient();
            client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint);
            client.SQSAdmin_StudioM_AddEditSupplierBrand(s.SupplierBrandID, s.SupplierBrandName, s.BrandStateID, active, CommonVariables.UserCode);
            client.Close();
        }