Exemplo n.º 1
0
        }//End of reactivateProduct(.)

        public Boolean DeactivateProduct(Product product)
        {
            if (product == null)
            {
                throw new ArgumentException("The product was null, therefore it cannot be set as inactive.");
            }
            return(ProductDAL.DeactivateProduct(product, _connection));
        }//End of deactivateProduct(.)