Esempio n. 1
0
 public TaxCalculatorManager(
     ITaxCalculationRepository calculationRepository,
     ITaxYearRepository taxYearRepository,
     IPostalCodeTaxCalculationMappingRepository calculationMappingRepository,
     IValidationRuleEngine <TaxCalculationRequest, TaxCalculationResponse> validationRuleEngine,
     ITaxCalculatorFactory taxCalculatorFactory,
     IClock clock)
 {
     _calculationRepository        = calculationRepository;
     _taxYearRepository            = taxYearRepository;
     _calculationMappingRepository = calculationMappingRepository;
     _validationRuleEngine         = validationRuleEngine;
     _taxCalculatorFactory         = taxCalculatorFactory;
     _clock = clock;
 }
Esempio n. 2
0
 public AddCoinCommandHandler(ICoinJar db, IValidationRuleEngine <ICoin> coinJarValidatorRulesEngine)
 {
     _db = db;
     _coinJarValidatorRulesEngine = coinJarValidatorRulesEngine;
 }