Exemple #1
0
        // GET: Books
        public async Task <IActionResult> Index()
        {
            var bookList = await _bookListData.GetAll();

            return(View(bookList));
        }
        public IActionResult Index()
        {
            var bookList = _bookListData.GetAll();

            return(View());
        }