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