Пример #1
0
        public ActionResult <Inventory> GetItem(string id, Inventory inv)
        {
            var inventory = _repo.GetItem(id, inv);

            if (inventory == null)
            {
                return(NotFound());
            }

            return(inventory);
        }