public ViewResult GetAllBooks()
        {
            Title = "Bookstore";
            var data = _bookData.AllBooks();

            return(View(data));
        }
 public List <Book> GetAllBooks()
 {
     return(_bookdata.AllBooks());
 }
        public ViewResult GetAllBooks()
        {
            var data = _bookData.AllBooks();

            return(View(data));
        }
        public ViewResult GetAllBooks()
        {
            var allBooks = _bookData.AllBooks();

            return(View(allBooks));
        }
Beispiel #5
0
        public async Task <ViewResult> GetAllBooks()
        {
            var data = await _bookData.AllBooks();

            return(View(data));
        }