public async Task <IActionResult> FindAuthorBooks(AuthorModel author)
        {
            IEnumerable <BookModel> bookModels = await _authorsBooksService.FindAuthorsBooks(author);

            TempData.Put("key", bookModels);
            return(RedirectToAction("ShowAllPage", "Author"));
        }
        public async Task <IActionResult> ShowAuthorBooks(string id)
        {
            AuthorModel author = await _authorService.GetAuthorById(Convert.ToInt32(id));

            IEnumerable <BookModel> bookModels = await _authorsBooksService.FindAuthorsBooks(author);

            return(PartialView("_ShowBooks", bookModels));
        }