public void Invoke() { ProductInsertData productdata = new ProductInsertData(); productdata.Product = this.Product; productdata.Add(); }
public void Invoke() { ProductInsertData productData = new ProductInsertData(); productData.StockLevels = this.StockLevels; productData.Product = this.Product; productData.Add(); }
public bool Invoke() { bool complete = false; try { ProductInsertData productdata = new ProductInsertData(); productdata.Product = this.Product; productdata.Add(); complete = true; } catch (Exception ex) { throw ex; } return(complete); }