public void DisplayStatus(bool status)
 {
     foreach (Book book in books)
     {
         view = new BookView(book);
         if (book.Status == status)
         {
             view.Display();
         }
     }
 }
 public void DisplayTitle(string title)
 {
     foreach (Book book in books)
     {
         view = new BookView(book);
         if (book.Title.Contains(title))
         {
             view.Display();
         }
     }
 }
 public void DisplayAuthor(string author)
 {
     foreach (Book book in books)
     {
         view = new BookView(book);
         if (book.Author == author)
         {
             view.Display();
         }
     }
 }
 public void DisplayType(string type)
 {
     foreach (Book book in books)
     {
         view = new BookView(book);
         if (book.Type == type)
         {
             view.Display();
         }
     }
 }
        public void DisplayDate()
        {
            foreach (Book b in bookDb)
            {
                BookView view = new BookView(b);

                if (DateTime.Compare(DateTime.Now, b.DueDate) < 0)
                {
                    view.DisplayDate();
                }
            }
            ReserveBook();
        }
        public void BookAction(Book b)
        {
            BookView view = new BookView(b);

            view.Display();
        }