Example #1
0
        public override void Execute(ProjectRepository repository, IConsole console)
        {
            TaskId taskId = TaskId.NewId(repository.IdGenerator, _userTaskId);
            var    task   = new Task {
                Id = taskId, Description = _description, Done = false
            };

            repository.AddTask(_projectId, task);
        }