Esempio n. 1
0
        public ActionResult <InventoryItems> GetInventoryItem(int id)
        {
            var inventoryItem = services.GetItem(id);

            if (inventoryItem.Value == null)
            {
                return(NotFound());
            }
            return(inventoryItem.Value);
        }