public virtual void VerifyImoNumber(IInternationalMaritimeOrganizationVerifier internationalMaritimeOrganizationVerifier) { IsImoNumberValid = internationalMaritimeOrganizationVerifier.IsImoNumberValid(ImoNumber); HasImoNumberBeenVerified = true; }
public virtual async Task VerifyImoNumber(IInternationalMaritimeOrganizationVerifier internationalMaritimeOrganizationVerifier) { IsImoNumberValid = await internationalMaritimeOrganizationVerifier.IsImoNumberValid(ImoNumber); HasImoNumberBeenVerified = true; }