public AccountingService(IPaymentInfoRepository paymentRepository, SalesTaxRepository taxRepository, ObjectCache cache) { this.paymentRepo = paymentRepository; this.taxRepo = taxRepository; this.cache = cache; }
public PaymentInfoService() { _paymentInfoRepository = DependencyManager.Resolve <IPaymentInfoRepository>(); }
public PaymentService(IPaymentInfoRepository repository) { _repository = repository; }
public PaymentService() { _repository = DependencyManager.Resolve<IPaymentInfoRepository>(); }
public AccountingService() { this.paymentRepo = new PaymentInfoRepository(); this.taxRepo = new SalesTaxRepository(); this.cache = MemoryCache.Default; }