Пример #1
0
        /// <summary>
        /// Update method.
        /// </summary>
        /// <param name="product"></param>
        public void Edit(Product product)
        {
            var productDac = new ProductDAC();

            productDac.UpdateById(product);
        }
        public Product Edit(Product product)
        {
            var productDAC = new ProductDAC();

            return(productDAC.UpdateById(product));
        }