public ActionResult Details(int id = 0) { ViewBag.Title = "Подробнее об авторе"; var book = _bookContext.GetAuthor(id); if (book == null) { return(HttpNotFound()); } return(View(book)); }