// GET: RegisterCar/Details/5 public ActionResult Details(int id) { DataTable detallecar = carmodel.QueryDetalleCar(id); return(View(detallecar)); }