To make the tab works, add the following code to the controller file HomeController.cs:
public IActionResult Books( ) {
return RedirectToAction( "Index", "Books" );
}
The tab will bring the user to the folder , which includes the following Razor pages:
BookStore1/Views/Books/Create.cshtml (generated by EF)
BookStore1/Views/Books/Delete.cshtml (generated by EF)
BookStore1/Views/Books/Details.cshtml (generated by EF)
BookStore1/Views/Books/Edit.cshtml (generated by EF)
BookStore1/Views/Books/Index.cshtml (generated by EF)
Clicking on the tab, the page will be shown.