Ejemplo n.º 1
0
 public bool ConditionMet(int?workPlaceEmpId)
 {
     return(workPlaceEmpId.HasValue &&
            workPlaceEmpId != ValidationConstants.TemporaryEmployerId &&
            !_edrsDataService.IsValid(workPlaceEmpId));
 }
 public bool IsNotValid(int?empId) =>
 empId.HasValue &&
 empId != ValidationConstants.TemporaryEmployerId &&
 !_edrsData.IsValid(empId);