public async Task <IActionResult> Details(int id) { var inventoryEntry = await apiInventoryController.GetByInventoryId(id); return(View(inventoryEntry)); }