Exemplo n.º 1
0
 public TransactionBehaviour(
     ITransactionalUnitOfWork transactionalUnitOfWork,
     ITransactionalOutboxService transactionalOutboxService,
     TransactionalOutboxConfiguration transactionalOutboxConfiguration,
     ILogger <TransactionBehaviour <TRequest, TResponse> > logger)
 {
     _transactionalUnitOfWork          = transactionalUnitOfWork;
     _transactionalOutboxService       = transactionalOutboxService;
     _transactionalOutboxConfiguration = transactionalOutboxConfiguration;
     _logger = logger;
 }
 public StudentRegisteredHandler(ILogger <StudentRegisteredHandler> logger,
                                 ITransactionalOutboxService transactionalOutboxService)
 {
     _logger = logger;
     _transactionalOutboxService = transactionalOutboxService;
 }