private bool IsEasyWord(string word) { easyWord = InnerDictionaryHelper.GetAllEasyWords(); //if(easyWord==null) //easyWord = dbOperator.GetAll<EasyWord>().Select(e => e.Word).ToList(); return(easyWord.Contains(word)); }
private bool IsEasyWord(string word) { if (EasyWordPart.Contains(word)) { return(true); } var easyWord = InnerDictionaryHelper.GetAllEasyWords(); return(easyWord.Contains(word)); }