public ActionResult UpdateInventory(InventoryVM person) { humanLg.UpdateInventory(InventoryVM.Map(person)); ModelState.Clear(); ViewBag.Message2 = person.inventoryName + " Successfully Updated"; return(RedirectToAction("DisplayInventory")); }
public ActionResult UpdateInventory(InventoryVM person) { humanLg.UpdateInventory(InventoryVM.Map(person)); ModelState.Clear(); ViewBag.Message2 = person.inventoryName + " Successfully Updated"; return(RedirectToAction("DisplayInventory")); }