public static FlightTravelClass GetDetailsClass(int id) { return(FlightRepository.GetDetailsClass(id)); //Returns the Flight class from the Flight Repository }