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