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