Пример #1
0
 public static bool IsFullMatch(this MatchPartyResponse matchPartyResponse)
 {
     return(matchPartyResponse?.Result?.MatchPercent == MappingConstants.FullMatch);
 }
Пример #2
0
 public static bool IsNoMatch(this MatchPartyResponse matchPartyResponse)
 {
     return(matchPartyResponse?.Result?.MatchPercent == "0");
 }
Пример #3
0
 public static string GetApttusId(this MatchPartyResponse matchPartyResponse)
 {
     return(matchPartyResponse?.DataArea?.Party?.IdentifierIdentification?.FirstOrDefault(x => x?.IdentificationSchemeAgencyIdentifier == MappingConstants.ApttusAgencyIdentifier)?.Designation);
 }
Пример #4
0
 public static bool IsPartyDead(this MatchPartyResponse matchPartyResponse)
 {
     return(matchPartyResponse?.DataArea?.Party?.PersonStatusIndicator != MappingConstants.PartyMatchedAlive);
 }