public decimal CalculateDeductionWithDiscount(Person person) { return(_annualDeductionRate.Get(person.Type) * (1 - (decimal)_discountCalculator.GetDiscountRate(person))); }
public decimal CalculateDeductionWithDiscount(Person person) { return(_annualDeductionRate.Get(person.Type) * (1 - (decimal)_discountCalculator.GetDiscountRate(person))); }