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; }
public void RemoveOption(OrderItemEntity orderItem) { Options.Remove(orderItem); }
public void AddOption(OrderItemEntity orderItem) { Options.Add(orderItem); }