コード例 #1
0
        public async Task AddAndSaveEventAsync(IntegrationEvent evt)
        {
            _logger.LogInformation(
                "----- Enqueuing integration event {IntegrationEventId} to repository ({@IntegrationEvent})", evt.Id,
                evt);

            await _eventLogService.SaveEventAsync(evt, _dbContext.GetCurrentTransaction());
        }