예제 #1
0
 public bool CheckIfExist(SAMPLEADDRESS model)
 {
     int count = geocoderEntities.SAMPLEADDRESSRESULT.Count(x => x.ID == model.ID);
     if (count == 0)
         return false;
     return true;
 }
예제 #2
0
        public bool CheckIfExist(SAMPLEADDRESS model)
        {
            int count = geocoderEntities.SAMPLEADDRESSRESULT.Count(x => x.ID == model.ID);

            if (count == 0)
            {
                return(false);
            }
            return(true);
        }