Example #1
0
        public ActionResult <Dictionary <string, Inventory> > GetInventory()
        {
            var inventory = _repo.GetInventory();

            if (inventory.Count == 0)
            {
                return(NotFound());
            }

            return(inventory);
        }