public CreditCardController(ILogger logger, CreditCardService creditCardService, AbstractValidator <CreditCardModel> creditCardModelValidator, BraintreeWarpper braintreeWarpper) { _logger = logger; _creditCardService = creditCardService; _creditCardModelValidator = creditCardModelValidator; _braintreeWarpper = braintreeWarpper; }
public TransactionController(ILogger logger, CreditCardService creditCardService, TransactionService transactionService, AbstractValidator <TransactionModel> transactionModelValidator, BraintreeWarpper braintreeWarpper) { _logger = logger; _creditCardService = creditCardService; _transactionService = transactionService; _transactionModelValidator = transactionModelValidator; _braintreeWarpper = braintreeWarpper; }