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