/// <summary> /// Get the full field name and text got all language entries for the specified language. /// </summary> /// <param name="languageId">The language ID</param> /// <returns>A list of language entries</returns> private IEnumerable <LanguageEntry> GetLanguageForExport(int languageId) { return (_db.up_LanguageTextListByLanguageId(languageId, null) .Select(x => new LanguageEntry { FieldName = x.FieldName, LanguageText = x.LanguageText }) .OrderBy(x => x.FieldName) .ToList()); }