public ProductService() { myProxy = new ServiceReference1.ProductServiceClient(); }
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))); }