public async Task <TResult> SendAsync <TResult>(IQuery <TResult> query, CancellationToken cancellationToken = default) { return(await _next.SendAsync(query, new Dictionary <string, string>(), cancellationToken)); }
public async Task <TResult> SendAsync <TResult>(IQuery <TResult> query, IDictionary <string, string> headers, CancellationToken cancellationToken = default) { SetCorrelation(headers); return(await _next.SendAsync(query, headers, cancellationToken)); }