예제 #1
0
        public ActionResult <InventoryItems> AdInventoryItems(InventoryItems items)
        {
            var inventoryItems = _service.AddInventoryItems(items);

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