Esempio n. 1
0
 public System.Threading.Tasks.Task <ServiceReference1.CreateProductResponse> CreateProductAsync(string name, string description, double price)
 {
     ServiceReference1.CreateProductRequest inValue = new ServiceReference1.CreateProductRequest();
     inValue.Body             = new ServiceReference1.CreateProductRequestBody();
     inValue.Body.name        = name;
     inValue.Body.description = description;
     inValue.Body.price       = price;
     return(((ServiceReference1.WebService1Soap)(this)).CreateProductAsync(inValue));
 }
Esempio n. 2
0
 public void CreateProduct(string name, string description, double price)
 {
     ServiceReference1.CreateProductRequest inValue = new ServiceReference1.CreateProductRequest();
     inValue.Body             = new ServiceReference1.CreateProductRequestBody();
     inValue.Body.name        = name;
     inValue.Body.description = description;
     inValue.Body.price       = price;
     ServiceReference1.CreateProductResponse retVal = ((ServiceReference1.WebService1Soap)(this)).CreateProduct(inValue);
 }
Esempio n. 3
0
 System.Threading.Tasks.Task <ServiceReference1.CreateProductResponse> ServiceReference1.WebService1Soap.CreateProductAsync(ServiceReference1.CreateProductRequest request)
 {
     return(base.Channel.CreateProductAsync(request));
 }
Esempio n. 4
0
 ServiceReference1.CreateProductResponse ServiceReference1.WebService1Soap.CreateProduct(ServiceReference1.CreateProductRequest request)
 {
     return(base.Channel.CreateProduct(request));
 }