示例#1
0
 protected override void List()
 {
     foreach (var book in _bookDao.GetAll())
     {
         _ui.PrintLn(book);
     }
 }
示例#2
0
 public IEnumerable <Book> GetAll() => _bookDao.GetAll();
示例#3
0
        public List <Book> GetAll()
        {
            var listBook = _bookDao.GetAll();

            return(listBook.ToList());
        }
示例#4
0
 public ICollection <Book> GetAll()
 {
     return(books.GetAll().ToList());
 }
示例#5
0
 public IEnumerable <Book> GetAll()
 {
     return(_bookDao.GetAll());
 }