Ejemplo n.º 1
0
        public bool IsGeoCodingRequired(Proximity proximity)
        {
            if (!this.HasLocation)
            {
                return(true);
            }

            if (this.City != proximity.City || this.State != proximity.State || this.Zip != proximity.Zip)
            {
                return(true);
            }

            return(false);
        }
Ejemplo n.º 2
0
        public bool HasChanged(Proximity proximity)
        {
            if (this.Latitude == null || this.Longitude == null)
            {
                return(true);
            }

            if (this.City != proximity.City || this.State != proximity.State || this.Zip != proximity.Zip)
            {
                return(true);
            }

            return(false);
        }