public BookListService(IRepository<Book> repository)
 {
     Repository = repository;
     BookList = Repository.LoadBooks() ?? new List<Book>();
 }
 public BookListService(IRepository<Book> repository)
 {
     Repository = repository;
     BookList = Repository.LoadBooks().ToList();
 }