Exemplo n.º 1
0
 public ProductService()
 {
     myProxy = new ServiceReference1.ProductServiceClient();
 }
Exemplo n.º 2
0
 public Product Update(int ID, string name, decimal price, int stock, int minStock, int maxStock, string description, bool isActive)
 {
     ServiceReference1.ProductServiceClient myProxy = new ServiceReference1.ProductServiceClient();
     return(BuildClientProduct(myProxy.Update(ID, name, price, stock, minStock, maxStock, description, isActive)));
 }