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

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