Beispiel #1
0
        protected override CommandResponse Handle(ReopenTaskCommand command)
        {
            var task = _entityBuilder.GetById <Task>(command.TaskId);

            task.Reopen();
            _entitySaver.Save(task);

            return(new CommandResponse {
                Success = true
            });
        }