Exemplo n.º 1
0
 public void DeleteBook(Book book)
 {
     Console.WriteLine("List size: " + books.Count);
     books.Remove(book);
     Console.WriteLine("List size: " + books.Count);
     foreach (Book b in books)
     {
         Console.WriteLine(b.Title + b.Author + b.Genre);
     }
     DeleteBookEvent?.Invoke(book);
 }
Exemplo n.º 2
0
        public void deleteBook(Book book)
        {
            books.Remove(book);

            DeleteBookEvent?.Invoke(book);
        }
Exemplo n.º 3
0
        public void DeleteBook(Book book)
        {
            DeleteBookEvent?.Invoke(book);

            books.Remove(book);
        }