Ejemplo n.º 1
0
 /// <summary>
 /// Controller class constructor.
 /// Carries out basic initialization and reads task data from a file.
 /// </summary>
 private Controller()
 {
     TaskIO.ReadTasks(tasks, saveFileName);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The method saves the list of tasks to a file.
 /// </summary>
 private void SaveData()
 {
     TaskIO.WriteTasks(tasks, saveFileName);
 }