public static bool EditKeyword(ATTKeyword obj, Previlege pobj) { try { return(DLLKeyword.EditKeyword(obj, pobj)); } catch (Exception ex) { throw ex; } }
public static List <ATTKeyword> GetKeywordList(int?keywordID) { List <ATTKeyword> lstKeyword = new List <ATTKeyword>(); try { foreach (DataRow row in DLLKeyword.GetKeywordTable(keywordID).Rows) { ATTKeyword obj = new ATTKeyword ( int.Parse(row["Keyword_ID"].ToString()), row["Keyword_Name"].ToString() ); lstKeyword.Add(obj); } return(lstKeyword); } catch (Exception ex) { throw ex; } }