Example #1
0
 public AccountingService(IPaymentInfoRepository paymentRepository,
                          SalesTaxRepository taxRepository, ObjectCache cache)
 {
     this.paymentRepo = paymentRepository;
     this.taxRepo     = taxRepository;
     this.cache       = cache;
 }
Example #2
0
 public PaymentInfoService()
 {
     _paymentInfoRepository = DependencyManager.Resolve <IPaymentInfoRepository>();
 }
Example #3
0
 public PaymentService(IPaymentInfoRepository repository)
 {
     _repository = repository;
 }
Example #4
0
 public PaymentService()
 {
     _repository = DependencyManager.Resolve<IPaymentInfoRepository>();
 }
Example #5
0
 public PaymentService(IPaymentInfoRepository repository)
 {
     _repository = repository;
 }
Example #6
0
 public AccountingService()
 {
     this.paymentRepo = new PaymentInfoRepository();
     this.taxRepo     = new SalesTaxRepository();
     this.cache       = MemoryCache.Default;
 }