コード例 #1
0
ファイル: DbController.cs プロジェクト: rnmisrahi/JB
 public ActionResult AddQuantity(ItemAdded itemAdded)
 {
     InventoryClient client = new InventoryClient();
     client.DbAddQuantity(itemAdded.Item.ItemId, itemAdded.QuantityAdded);
     
     return RedirectToAction("Index");
 }
コード例 #2
0
ファイル: DbController.cs プロジェクト: rnmisrahi/JB
 public ActionResult Plus1(int Id)
 {
     InventoryClient client = new InventoryClient();
     client.DbAddQuantity(Id, 1);
     return RedirectToAction("Index");
 }