Esempio n. 1
0
 private async Task <ITemplateResponse <T> > CallRpc <TRequest, TResponse, T>(TRequest request)
     where TRequest : ITemplateRequest <T>, new()
     where TResponse : ITemplateResponse <T>, new()
 {
     return(await _bus.Call <TRequest, TResponse>(request, _routingKey));
 }