public static string GetDisplayNotification(string langId) { if (langId != null) { LangTool.LangEntry langEntry = notificationLangEntries.Entries.FirstOrDefault(entry => entry.LangId == langId); if (langEntry != null) { return(langEntry.Value); } } return(null); }
public static string GetLangId(string value) { if (value != null) { LangTool.LangEntry langEntry = notificationLangEntries.Entries.FirstOrDefault(entry => entry.Value == value); if (langEntry != null) { return(langEntry.LangId); } } return(null); }