public ActionResult Eliminar(string ID) { EF_Practice.Vehiculo Vehiculo = DAGeneral.listadoVehiculo().Where(x => x.CodVehiculo == ID).FirstOrDefault(); bool exito = DAGeneral.EliminarVehiculo(Vehiculo); return(RedirectToAction("Index")); }