예제 #1
0
        public IActionResult Details(int Id)
        {
            var model = _db.FindCarById(Id);

            if (model == null)
            {
                return(View("NotFound"));
            }
            return(View(model));
        }