Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 public PaymentManager(IPaymentRepository paymentRepository,
                       IAccountRepository accountRepository,
                       IRecurringPaymentRepository recurringPaymentRepository,
                       IDialogService dialogService)
 {
     this.recurringPaymentRepository = recurringPaymentRepository;
     this.dialogService     = dialogService;
     this.paymentRepository = paymentRepository;
     this.accountRepository = accountRepository;
 }
Exemplo n.º 3
0
 public PaymentManager(IPaymentRepository paymentRepository,
     IAccountRepository accountRepository,
     IRecurringPaymentRepository recurringPaymentRepository,
     IDialogService dialogService)
 {
     this.recurringPaymentRepository = recurringPaymentRepository;
     this.dialogService = dialogService;
     this.paymentRepository = paymentRepository;
     this.accountRepository = accountRepository;
 }
Exemplo n.º 4
0
 /// <summary>
 ///     Constructor
 /// </summary>
 public RecurringPaymentService(IRecurringPaymentRepository recurringPaymentRepository, IPaymentRepository paymentRepository)
 {
     this.recurringPaymentRepository = recurringPaymentRepository;
     this.paymentRepository          = paymentRepository;
 }