public TransacoesController(TransacaoService transacaoService, TransacaoRepositoryFactory transacaoRepositoryFactory,
                             ILogger <TransacoesController> logger)
 {
     this.transacaoService           = transacaoService;
     this.transacaoRepositoryFactory = transacaoRepositoryFactory;
     this.logger = logger;
 }
 public TransacaoService(ContaLockService contaLockService, IDateTimeProvider dateTimeProvider, TransacaoFactory transacaoFactory, ContaRepositoryFactory contaRepositoryFactory, UsuarioRepositoryFactory usuarioRepositoryFactory, TransacaoRepositoryFactory transacaoRepositoryFactory, TransactionFactory transactionFactory)
 {
     this.contaLockService           = contaLockService;
     this.dateTimeProvider           = dateTimeProvider;
     this.transacaoFactory           = transacaoFactory;
     this.contaRepositoryFactory     = contaRepositoryFactory;
     this.usuarioRepositoryFactory   = usuarioRepositoryFactory;
     this.transacaoRepositoryFactory = transacaoRepositoryFactory;
     this.transactionFactory         = transactionFactory;
 }