public PaymentsController(IPaymentsRepository p, ICurrencyRepository c,
                           IPaymentMethodsRepository m)
 {
     payments       = p;
     currencyes     = c;
     paymentMethods = m;
 }
 /// <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;
 }
Example #3
0
 public PaymentMethodsService(
     IPaymentMethodsRepository paymentMethodsRepository,
     IUnitOfWork unitOfWork,
     IPaymentMethodValidator validator)
 {
     _paymentMethodsRepository = paymentMethodsRepository;
     _unitOfWork = unitOfWork;
     _validator  = validator;
 }
 public PaymentMethodsTest() : base()
 {
     paymentMethodsRepository = new PaymentMethodsRepository(billingoApi);
 }
 public PaymentMethodsController(IPaymentMethodsRepository m,
                                 IPaymentsRepository p)
 {
     paymentMethods = m;
 }