示例#1
0
 public ActionResult AddQuantity(ItemAdded itemAdded)
 {
     InventoryClient client = new InventoryClient();
     client.DbAddQuantity(itemAdded.Item.ItemId, itemAdded.QuantityAdded);
     
     return RedirectToAction("Index");
 }
示例#2
0
 public ActionResult Plus1(int Id)
 {
     InventoryClient client = new InventoryClient();
     client.DbAddQuantity(Id, 1);
     return RedirectToAction("Index");
 }