コード例 #1
0
ファイル: GeocoderService.cs プロジェクト: macrodepy/Geocoder
 public bool CheckIfExist(SAMPLEADDRESS model)
 {
     int count = geocoderEntities.SAMPLEADDRESSRESULT.Count(x => x.ID == model.ID);
     if (count == 0)
         return false;
     return true;
 }
コード例 #2
0
ファイル: GeocoderService.cs プロジェクト: macrodepy/Geocoder
        public bool CheckIfExist(SAMPLEADDRESS model)
        {
            int count = geocoderEntities.SAMPLEADDRESSRESULT.Count(x => x.ID == model.ID);

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