public CreatePayments(IPaymentProcessorGateway gateway, IPaymentContext db, ILogger <CreatePayments> logger, IOptions <TestDataOption> options) { this.logger = logger; this.gateway = gateway; this.db = db; this.option = options.Value; }
public RecurringDonationBackgroundService( IPaymentRepoService repoService, IPaymentProcessorGateway paymentProcessorGateway, IHostApplicationLifetime hostLifetime, ILogger logger) { this.repoService = repoService; this.paymentProcessorGateway = paymentProcessorGateway; this.hostLifetime = hostLifetime; this.logger = logger; }