コード例 #1
0
 /// <summary>
 /// Runs once when the program excecutes, and then enters the routine of running
 /// every 24 hours at the defined time. This is being managed by the task below.
 /// </summary>
 private void MoveFlightsToHistory()
 {
     Logger.Log(LogLevel.Info, "The Flights Center System moved all the past flights and tickets to history.");
     flightDAO.MoveFlightsAndTicketsToHistory();
 }