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