Esempio n. 1
0
        public IActionResult AddProduct(Product product)
        {
            _productRepo.AddProduct(product);
            _productRepo.CommitChanges();

            return(Accepted(product));
        }