public void Update(Product product)
        {
            var context = new ProductBusinessCheckContext()
            {
                NewProduct = product
            };

            _businessChecks.Execute(context);

            _dataAccess.Update(product);
        }
Exemple #2
0
 public bool Update(ProductInfo product)
 {
     return(productDataAccess.Update(product));
 }
Exemple #3
0
 public int Update(ProductInfo model)
 {
     return(_dataAccess.Update(model));
 }
        public ApuxActionResult <Product> Update(UpdateAction action)
        {
            var product = _productDataAccess.Update(action.Payload);

            return(new ApuxActionResult <Product>(product));
        }
 public void UpdateProduct(Domain.Master.Product.Product product)
 {
     //validation goes here
     _productDataAccess.Update(product);
 }