public void ChangeAmount(ItemsToOrder item, int nAmount) { item.Amount += nAmount; //item = new ItemsToOrder(nAmount + item.Amount, item.Item); OnPropertyChanged("ItemsToOrder"); }
public void RemoveItemToOrder(ItemsToOrder item) { ItemsToOrder.Remove(item); OnPropertyChanged("ItemsToOrder"); }
public void AddItemToOrder(ItemsToOrder itemToOrder) { ItemsToOrder.Add(itemToOrder); OnPropertyChanged("ItemsToOrder"); }