Example #1
0
 public override void CalculateRiskScore(Customer customer, LineInsurance lineInsurance)
 {
     if (customer.Vehicle == null)
     {
         lineInsurance.Ineligible();
     }
 }
Example #2
0
 public override void CalculateRiskScore(Customer customer, LineInsurance lineInsurance)
 {
     if (customer.Age > 60)
     {
         lineInsurance.Ineligible();
     }
 }