Example #1
0
 public virtual void AddItem(CartItem item)
 {
     item.Cart = this;
     this.items.Add(item);
 }
Example #2
0
 public OrderItem(CartItem cartItem)
 {
     Quantity  = cartItem.Quantity;
     Album     = cartItem.Album;
     UnitPrice = cartItem.Album.Price;
 }