public IActionResult Post([FromBody] InventoryItem InventoryItem) { _inventoryItemService.Add(InventoryItem); return(new JsonResult(InventoryItem)); }
public IActionResult Post([FromBody] InventoryItem InventoryItem) { _inventoryItemService.Add(InventoryItem); return(new JsonResult(InventoryItem)); }