コード例 #1
0
 public CheckResult CheckOccupation(Risk risk)
 {
     return _occupationChecker.Check(risk.Occupation);
 }
コード例 #2
0
 public CheckResult CheckKeptLocation(Risk risk)
 {
     return _vehicleKeptChecker.Check(risk.Address.Postcode, risk.KeptPostcode ?? risk.Address.Postcode);
 }