Exemplo n.º 1
0
 public PaymentService(ILogger <PaymentService> log,
                       IPaymentRepository paymentRepository,
                       IBankGateway bankGateway,
                       IEncryptionProvider encryptionProvier)
 {
     _log = log;
     _paymentRepository = paymentRepository;
     _bankGateway       = bankGateway;
     _encryptionProvier = encryptionProvier;
 }
Exemplo n.º 2
0
 public PaymentService(
     IPaymentsRepository paymentsRepository,
     ISymmetricEncryption symmetricEncryption,
     ICardsRepository cardsRepository,
     IBankGateway bankGateway)
 {
     _paymentsRepository  = paymentsRepository;
     _symmetricEncryption = symmetricEncryption;
     _cardsRepository     = cardsRepository;
     _bankGateway         = bankGateway;
 }