/// <summary> /// Remove task from repository /// </summary> /// <param name="task">task</param> internal static void RemoveTask(BaseTask task) { if (task != null) { _tasks.Remove(task); } }
/// <summary> /// Add task to repository /// </summary> /// <param name="task">task</param> internal static void AddTask(BaseTask task) { if (task != null) { _tasks.Add(task); } }