public string GetHelpTextByLanguage(object languageId) { string label = HelpText; if (SubjectFieldLanguagesDic.ContainsKey(languageId)) { SubjectFieldLanguageDto subjectFieldLanguage = SubjectFieldLanguagesDic[languageId]; label = subjectFieldLanguage.HelpText; } return(label); }
public string GetFieldLabelByLanguage(object languageId) { string label = FieldLabel; if (SubjectFieldLanguagesDic.ContainsKey(languageId)) { SubjectFieldLanguageDto subjectFieldLanguage = SubjectFieldLanguagesDic[languageId]; label = subjectFieldLanguage.FieldLabel; } return(label); }