예제 #1
0
        public void SaveProductImage(string productid, string imagename, int supplierid, byte[] imagestream)
        {
            int psupplierid = 0;

            client = new SQSAdminServiceClient();
            client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint);
            client.SQSAdmin_StudioM_SaveProductImage(productid, imagename, supplierid, imagestream);
            client.Close();
            //if (filter)
            //    psupplierid = supplierid;
            GetProductImage(productid, psupplierid);
        }