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