private UserVocabulary GetUserVocabulary(string word) { if (userVocabularies == null || userVocabularies.Count == 0) { userVocabularies = dbOperator.GetAll <UserVocabulary>(); } return(userVocabularies.Where(v => v.Word == word).FirstOrDefault()); }