public IActionResult Details(int Id) { var model = _db.FindCarById(Id); if (model == null) { return(View("NotFound")); } return(View(model)); }