public async Task Send <TCommand>(TCommand command) where TCommand : class, ICommand { var sendEndpoint = await _sendEndpointProvider.GetEndpoint(_sendEndpointConfiguration.Queue); await sendEndpoint.Send(command); }
public async Task Send <TCommand>(TCommand command) where TCommand : class, ICommand { var sendEndpoint = await _sendEndpointProvider.GetEndpoint(_sendEndpointConfiguration.Queue); await sendEndpoint.Send(command); }