public ActionResult Index(string search)
 {
     var isbnFiltered = ISBNFilter.Filter(search);
     var books = new BookRepository().SearchFor(book => book.ISBN.Contains(isbnFiltered) || book.Title.Contains(search)).ToList();
     var model = new BooksListModel
     {
         Books = GetBooksListModels(books)
     };
     return View(model);
 }
 public ActionResult Index(BooksListSuccessMessage message = BooksListSuccessMessage.None)
 {
     var books = new BookRepository().GetAll();
     var model = new BooksListModel
     {
         Books = GetBooksListModels(books)
     };
     if (message != BooksListSuccessMessage.None)
         model.SuccessMessage = message.GetDescriptionAttributeValue();
     return View(model);
 }