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)); }
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); }
System.Threading.Tasks.Task <ServiceReference1.CreateProductResponse> ServiceReference1.WebService1Soap.CreateProductAsync(ServiceReference1.CreateProductRequest request) { return(base.Channel.CreateProductAsync(request)); }
ServiceReference1.CreateProductResponse ServiceReference1.WebService1Soap.CreateProduct(ServiceReference1.CreateProductRequest request) { return(base.Channel.CreateProduct(request)); }