public void Handle(ICommand command) { _outboundEventBus.Send(_diagnosticService.GetDiagnosticDataEvent()); _outboundEventBus.Send(new CommandResultEvent(command.CorrelationId, StatusCode.Success, nameof(SendDiagnosticDataCommand))); }