Esempio n. 1
0
 public IEnumerable <Product> Get()
 {
     return(_productManager.GetStock());
 }
        public IActionResult Index()
        {
            var stock = _productManager.GetStock();

            return(View("Index", stock));
        }