Пример #1
0
 public PaymentService(
     IAquiringBankService bankService,
     IPaymentRepository paymentRepository,
     ILogger <PaymentService> logger)
 {
     _bankService       = bankService;
     _paymentRepository = paymentRepository;
     _logger            = logger;
 }
Пример #2
0
 public AddPaymentCommandHandler(
     ILogger <AddPaymentCommandHandler> logger,
     IAquiringBankService aquiringBankService,
     IUserSessionService userSessionService,
     IPaymentRepository paymentRepository
     )
 {
     _logger = logger;
     _aquiringBankService = aquiringBankService;
     _userSessionService  = userSessionService;
     _paymentRepository   = paymentRepository;
 }