public async Task StartBroadcasting() { await _commandDispatcher.SendAsync <RequestQuotesCommand>(new RequestQuotesCommand(DateTime.Now)); }
protected async Task SendCommandAsync <TCommand>(TCommand command) where TCommand : ICommand => await _commandDispatcher.SendAsync <TCommand>(command, default(CancellationToken));