Beispiel #1
0
        public void UpdateProduct()
        {
            Product product = new Product();

            product.IdProduct = Convert.ToInt32(txtProductId.Text);
            product.Name      = txtProductName.Text;
            product.Price     = Convert.ToDouble(txtPrice.Text);

            logic.UpdateProduct(product);
        }
Beispiel #2
0
        public void UpdateProducts(Product product)
        {
            GetDataLogic logic = new GetDataLogic();

            logic.UpdateProduct(product);
        }