public static Int32 DeleteLanguage(Int32 languageId) { LanguageDSTableAdapter ta = new LanguageDSTableAdapter(); return(ta.Delete(languageId)); }
public static Int32 UpdateLanguage(Int32 languageId, string languageName) { LanguageDSTableAdapter ta = new LanguageDSTableAdapter(); return(ta.Update(languageId, languageName)); }
public static LanguageDS.LanguageDSDataTable SelectLanguage(Int32 languageId) { LanguageDSTableAdapter ta = new LanguageDSTableAdapter(); return(ta.GetData(languageId)); }
public static Int32 InsertLanguage(string languageName) { LanguageDSTableAdapter ta = new LanguageDSTableAdapter(); return(Convert.ToInt32(ta.InsertLanguage(languageName))); }
public static LanguageDS.LanguageDSDataTable GetLanguageList(Int32 agentId) { LanguageDSTableAdapter ta = new LanguageDSTableAdapter(); return(ta.GetLanguageList(agentId)); }