Beispiel #1
0
        public Dictionary <int, string> GetLanguagesNotEnteredForWord(int wordId)
        {
            var languages  = CntrlLG.GetKeysAndValues();
            var wlanguages = CntrlWL.Select(new WordLanguageModel {
                WordId = wordId
            }, "LanguageId", false, "WordId");

            return(languages.Where(x => wlanguages.Select(y => y.LanguageId).Contains(x.Key) == false).ToDictionary(x => x.Key, x => x.Value));
        }