/// <inheritdoc /> public async Task <Unit> Handle(ChangeIsDoneStateCommand request, CancellationToken cancellationToken) { await _repository.ChangeIsDoneState(request.Id, request.IsDone); await _mediator.Publish(new ToDoUpdated(request.Id, request.UserId)); return(Unit.Value); }