public System.Threading.Tasks.Task <PuntoVenta.ServiceReference1.SaveNewProductResponse> SaveNewProductAsync(int idProducto, string nombre, string descripcion, decimal precioCompra, decimal precioVenta, int inventario) { PuntoVenta.ServiceReference1.SaveNewProductRequest inValue = new PuntoVenta.ServiceReference1.SaveNewProductRequest(); inValue.Body = new PuntoVenta.ServiceReference1.SaveNewProductRequestBody(); inValue.Body.idProducto = idProducto; inValue.Body.nombre = nombre; inValue.Body.descripcion = descripcion; inValue.Body.precioCompra = precioCompra; inValue.Body.precioVenta = precioVenta; inValue.Body.inventario = inventario; return(((PuntoVenta.ServiceReference1.WebServiceSoap)(this)).SaveNewProductAsync(inValue)); }
public PuntoVenta.ServiceReference1.Producto SaveNewProduct(int idProducto, string nombre, string descripcion, decimal precioCompra, decimal precioVenta, int inventario) { PuntoVenta.ServiceReference1.SaveNewProductRequest inValue = new PuntoVenta.ServiceReference1.SaveNewProductRequest(); inValue.Body = new PuntoVenta.ServiceReference1.SaveNewProductRequestBody(); inValue.Body.idProducto = idProducto; inValue.Body.nombre = nombre; inValue.Body.descripcion = descripcion; inValue.Body.precioCompra = precioCompra; inValue.Body.precioVenta = precioVenta; inValue.Body.inventario = inventario; PuntoVenta.ServiceReference1.SaveNewProductResponse retVal = ((PuntoVenta.ServiceReference1.WebServiceSoap)(this)).SaveNewProduct(inValue); return(retVal.Body.SaveNewProductResult); }
System.Threading.Tasks.Task <PuntoVenta.ServiceReference1.SaveNewProductResponse> PuntoVenta.ServiceReference1.WebServiceSoap.SaveNewProductAsync(PuntoVenta.ServiceReference1.SaveNewProductRequest request) { return(base.Channel.SaveNewProductAsync(request)); }
PuntoVenta.ServiceReference1.SaveNewProductResponse PuntoVenta.ServiceReference1.WebServiceSoap.SaveNewProduct(PuntoVenta.ServiceReference1.SaveNewProductRequest request) { return(base.Channel.SaveNewProduct(request)); }