Model is working fine in one view, but throwing an exception in another one

I’m learning asp .net and trying to build something similar to an online library. I have a Book Model class and I’m showing a list of books in the appropriate Book View: @model IEnumerable<FirstTry.Models.Book> @{ ViewBag.Title = “Index”; } <p style=”padding-left: 15px”> @Html.ActionLink(“Create a new book”, “Create”) </p> @using (Html.BeginForm()) { <p style=”padding-left: 15px”> @Html.TextBox(“SearchString”)…

Details