public EmployeeDeductionCalculator(DeductionCalculatorSettings calculatorSettings) { _calculatorSettings = calculatorSettings; }
public EmployeeController() { var defaultSettings = new DeductionCalculatorSettings(); calculator = new EmployeeDeductionCalculator(defaultSettings); }