public PaymentService(IExternalAuthService externalAuthService, IHttpClientWrapper httpClient, IOptions <PaystackSettings> paystackSettings) { _externalAuthService = externalAuthService; _httpClient = httpClient; _paystackSettings = paystackSettings.Value; }
public TransactionRepositoryAsync(ApplicationDbContext dbContext, IPaymentService paymentService, IMapper mapper, IOptions <PaystackSettings> paystackSettings, IAuthenticatedUserService authenticatedUser, IAccountService accountService) : base(dbContext) { _transactions = dbContext.Set <Transaction>(); _paymentService = paymentService; _mapper = mapper; _paystackSettings = paystackSettings.Value; _authenticatedUser = authenticatedUser; _accountService = accountService; }
public ExternalAuthService(IOptions <PaystackSettings> paystackSettings) { _paystackSettings = paystackSettings.Value; }