private IEnumerable <Word> GetRelatedWords(Dictionary dictionary) { var itsWords = wordRepository.GetList().Where(x => x.DictionaryId == dictionary.Id).ToArray(); return(itsWords); }