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

            await sendEndpoint.Send(command);
        }