コード例 #1
0
 public PaymentsController(IPaymentsRepository p, ICurrencyRepository c,
                           IPaymentMethodsRepository m)
 {
     payments       = p;
     currencyes     = c;
     paymentMethods = m;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of
 /// type PaymentMethodsService.
 /// </summary>
 /// <param name="PaymentMethodsRepository"></param>
 /// <param name="unitOfWork"></param>
 public PaymentMethodsService(
     IPaymentMethodsRepository PaymentMethodsRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._PaymentMethodsRepository = PaymentMethodsRepository;
     this._languageService          = languageService;
     this._unitOfWork = unitOfWork;
 }
コード例 #3
0
 public PaymentMethodsService(
     IPaymentMethodsRepository paymentMethodsRepository,
     IUnitOfWork unitOfWork,
     IPaymentMethodValidator validator)
 {
     _paymentMethodsRepository = paymentMethodsRepository;
     _unitOfWork = unitOfWork;
     _validator  = validator;
 }
コード例 #4
0
 public PaymentMethodsTest() : base()
 {
     paymentMethodsRepository = new PaymentMethodsRepository(billingoApi);
 }
コード例 #5
0
 public PaymentMethodsController(IPaymentMethodsRepository m,
                                 IPaymentsRepository p)
 {
     paymentMethods = m;
 }