/// <summary> /// Creates a PaymentService object. /// </summary> /// <param name="dbContextScopeFactory">Instance of <see cref="IDbContextScopeFactory"/></param> /// <param name="paymentRepository">Instance of <see cref="IPaymentRepository" /></param> /// <param name="recurringPaymentRepository">Instance of <see cref="IRecurringPaymentRepository" /></param> /// <param name="accountRepository">Instance of <see cref="IAccountRepository" /></param> public PaymentService(IDbContextScopeFactory dbContextScopeFactory, IPaymentRepository paymentRepository, IRecurringPaymentRepository recurringPaymentRepository, IAccountRepository accountRepository) { this.paymentRepository = paymentRepository; this.recurringPaymentRepository = recurringPaymentRepository; this.accountRepository = accountRepository; this.dbContextScopeFactory = dbContextScopeFactory; }
public PaymentManager(IPaymentRepository paymentRepository, IAccountRepository accountRepository, IRecurringPaymentRepository recurringPaymentRepository, IDialogService dialogService) { this.recurringPaymentRepository = recurringPaymentRepository; this.dialogService = dialogService; this.paymentRepository = paymentRepository; this.accountRepository = accountRepository; }
public PaymentManager(IPaymentRepository paymentRepository, IAccountRepository accountRepository, IRecurringPaymentRepository recurringPaymentRepository, IDialogService dialogService) { this.recurringPaymentRepository = recurringPaymentRepository; this.dialogService = dialogService; this.paymentRepository = paymentRepository; this.accountRepository = accountRepository; }
/// <summary> /// Constructor /// </summary> public RecurringPaymentService(IRecurringPaymentRepository recurringPaymentRepository, IPaymentRepository paymentRepository) { this.recurringPaymentRepository = recurringPaymentRepository; this.paymentRepository = paymentRepository; }