public bool AddPrerequisity(Task task, Task prerequisity)
        {
            if (!task.Prerequisities)
            {
                task.Prerequisities = true;
                _tasksManager.UpdateTask(task);
                return(_tasksManager.AddPrerequisityForTask(task.Id, prerequisity.Id));
            }

            return(_tasksManager.AddPrerequisityForTask(task.Id, prerequisity.Id));
        }