public IEnumerable <WeatherForecast> Get()
        {
            var command = new TestCommand("Data");

            _correlation.CorrelationId = Guid.NewGuid().ToString();
            _correlation.CausationId   = Guid.NewGuid().ToString();
            _correlation.CurrentId     = command.CommandId;

            _logger.LogInformation("correlation: {@correlation}", _correlation);

            _commandSender.SendAsync(command);

            var rng = new Random();

            return(Enumerable.Range(1, 5).Select(index => new WeatherForecast
            {
                Date = DateTime.Now.AddDays(index),
                TemperatureC = rng.Next(-20, 55),
                Summary = Summaries[rng.Next(Summaries.Length)]
            })
                   .ToArray());
        }
 protected async Task SendAsync <TCommand>(TCommand command, CancellationToken cancellationToken = default) where TCommand : ICommand
 {
     await _commandSender.SendAsync(command, cancellationToken);
 }