public void RemoveOrderItem(OrderItemEntity orderItem)
        {
            var items = this.Items.ToList();

            items.Remove(orderItem);
            this.Items = items;
        }
        public void AddOrderItem(OrderItemEntity orderItemEntity)
        {
            var items = this.Items.ToList();

            items.Add(orderItemEntity);
            this.Items = items;
        }
Beispiel #3
0
 public void RemoveOption(OrderItemEntity orderItem)
 {
     Options.Remove(orderItem);
 }
Beispiel #4
0
 public void AddOption(OrderItemEntity orderItem)
 {
     Options.Add(orderItem);
 }