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