Пример #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);
 }