public void AddNewElementToTasks() { TaskClass task = new TaskClass(); TasksClass tasksClass = new TasksClass(); tasksClass.AddTask(task); }
public void RemoveTaskFromTasks() { TaskClass task = new TaskClass(); TasksClass tasksClass = new TasksClass(); tasksClass.AddTask(task); tasksClass.RemoveTask(task); }
public void RemoveTask(TaskClass task) { tasks.Remove(task); }
public void AddTask(TaskClass task) { tasks.Add(task); }