private static ImageResponse GetSimImages(ImageRequest request, string vehicleName) { var vehicle = Vehicles.Find(element => element.vehicleName == vehicleName); return(vehicle.VehicleInterface.GetSimulationImages(request)); }