예제 #1
0
        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);
        }
예제 #2
0
        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);
        }