public CartItem(ProductModels productItem) { ProductItem = productItem; }
/** * RemoveItem() - Removes an item from the shopping cart */ public void RemoveItem(ProductModels productItem) { CartItem removedItem = new CartItem(productItem); Items.Remove(removedItem); }