public void RemoveFromCart(Product product, int index) { var item = CustomerPurchaseItems.First(x => x.ProductID == index); CustomerPurchaseItems.Remove(item); }