public List<VehiculoComposite> ObtenerVehiculos()
 {
     VehiculoRepositorio repositorio = new VehiculoRepositorio();
     List<Vehiculo> vehiculos = repositorio.ConsultarVehiculos();
     //return vehiculos;
     return this.ConvertirVehiculo(vehiculos);
 }
 public ActionResult ListarVehiculos()
 {
     VehiculoRepositorio repositorio = new VehiculoRepositorio();
     List<Vehiculo> vehiculos = repositorio.ConsultarVehiculos();
     HttpClient cliente = new HttpClient();
     //EasyHttp.Http.HttpResponse respuesta = cliente.Get("http://localhost:49671/api/vehiculo/ObtenerVehiculos");
     //var vehiculos = respuesta.StaticBody<Vehiculo[]>();
     return View(vehiculos);
 }