public IActionResult Delete(int id) { apiInventoryController.Delete(id); return(RedirectToAction("Index", "Home")); }