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