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