public void ReceiveOrder(OrderReadyEvent ready) { foreach (var incoming in ready.Items) { var item = OrderedItems.First(x => incoming.GetType() == x.GetType()); DelieveredItems.Add(item); OrderedItems.Remove(item); } }
public void RemoveItem(OrderedItem item) { OrderedItems.Remove(item); }