Пример #1
0
 public void RemovePrerequisity(Task task, Task prer)
 {
     if (_tasksManager.GetPrerequisitiesIdForTask(task.Id).Count == 1)
     {
         task.Prerequisities = false;
         _tasksManager.UpdateTask(task);
     }
     _tasksManager.RemovePrerequisityFortask(task.Id, prer.Id);
 }