public static void EditClass(FlightTravelClass flightTravelClass) { FlightRepository.EditClass(flightTravelClass); //Pass the flight travel class details to the Flight Repository }