protected override void List() { foreach (var book in _bookDao.GetAll()) { _ui.PrintLn(book); } }
public IEnumerable <Book> GetAll() => _bookDao.GetAll();
public List <Book> GetAll() { var listBook = _bookDao.GetAll(); return(listBook.ToList()); }
public ICollection <Book> GetAll() { return(books.GetAll().ToList()); }
public IEnumerable <Book> GetAll() { return(_bookDao.GetAll()); }