예제 #1
0
        public void RemoveFromCart(Product product, int index)
        {
            var item = CustomerPurchaseItems.First(x => x.ProductID == index);

            CustomerPurchaseItems.Remove(item);
        }