public override bool IsMissingInfo(AddressViewModel address, SiteContext siteContext)
        {
            if (string.IsNullOrEmpty(address.DocumentType))
            {
                return(true);
            }

            if (string.IsNullOrEmpty(address.TaxNumber))
            {
                return(true);
            }

            return(base.IsMissingInfo(address, siteContext));
        }
        public virtual bool IsMissingInfo(AddressViewModel address, SiteContext siteContext)
        {
            if (string.IsNullOrEmpty(address.Address))
            {
                return(true);
            }

            if (string.IsNullOrEmpty(address.ZipCode))
            {
                return(true);
            }

            var telMissing = IsTelMissing(address, siteContext);

            if (telMissing)
            {
                return(true);
            }

            return(false);
        }
 protected override bool IsTelMissing(AddressViewModel address, SiteContext siteContext)
 {
     return(false);
 }
 public override bool IsMissingInfo(AddressViewModel address, SiteContext siteContext)
 {
     return(base.IsMissingInfo(address, siteContext));
 }
 protected virtual bool IsTelMissing(AddressViewModel address, SiteContext siteContext)
 {
     return(string.IsNullOrEmpty(address.Tel) && siteContext.Culture != "BE");
 }