public IActionResult Edit(int id, [Bind("IdVehiculo,Placa,Dueno,Marca")] VehiculoETL vehiculo) { if (id != vehiculo.IdVehiculo) { return(NotFound()); } if (ModelState.IsValid) { try { _vehiculoBLL.ActualizarVehiculo(vehiculo); } catch (Exception) { throw; } return(RedirectToAction(nameof(Index))); } return(View(vehiculo)); }