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; }
public AddCoinCommandHandler(ICoinJar db, IValidationRuleEngine <ICoin> coinJarValidatorRulesEngine) { _db = db; _coinJarValidatorRulesEngine = coinJarValidatorRulesEngine; }