예제 #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);
        }
예제 #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);
        }