Exemple #1
0
 public void RemoveFromBasket(RentalItem item)
 {
     Basket.RemoveItem(item);
 }
Exemple #2
0
        public void RemoveFromBasket(Book item)
        {
            RentalItem it = (from c in Basket.Items where c.BookCopy.Book.BookId == item.BookId select c).FirstOrDefault();

            RemoveFromBasket(it);
        }