Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 System.Threading.Tasks.Task <PuntoVenta.ServiceReference1.SaveNewProductResponse> PuntoVenta.ServiceReference1.WebServiceSoap.SaveNewProductAsync(PuntoVenta.ServiceReference1.SaveNewProductRequest request)
 {
     return(base.Channel.SaveNewProductAsync(request));
 }
Exemplo n.º 4
0
 PuntoVenta.ServiceReference1.SaveNewProductResponse PuntoVenta.ServiceReference1.WebServiceSoap.SaveNewProduct(PuntoVenta.ServiceReference1.SaveNewProductRequest request)
 {
     return(base.Channel.SaveNewProduct(request));
 }