public void Invoke()
        {
            ProductInsertData productdata = new ProductInsertData();

            productdata.Product = this.Product;
            productdata.Add();
        }
예제 #2
0
 public void Invoke()
 {
     ProductInsertData productData = new ProductInsertData();
     productData.StockLevels = this.StockLevels;
     productData.Product = this.Product;
     productData.Add();
 }
예제 #3
0
        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);
        }