public DataTable GetAnnounceByCateHomeAll(int n, string strCate, string approval) { string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); AnnounceDAO announceDAO = new AnnounceDAO(); return announceDAO.GetAnnounceByCateHomeAll(n, restr, approval); }
public DataTable GetAnnounceByCateHomeList(string strCate) { string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); AnnounceDAO announceDAO = new AnnounceDAO(); return announceDAO.GetAnnounceByCateHomeList(restr); }
public DataTable AnnounceSearch(string keyword, int cId, string lang) { AnnounceDAO announceDAO = new AnnounceDAO(); return announceDAO.AnnounceSearch(keyword, cId, lang); }
public DataTable GetAnnounceAll(string lang) { AnnounceDAO announceDAO = new AnnounceDAO(); return announceDAO.GetAnnounceAll(lang); }
public DataTable AnnounceFollow(int Id, int cId, int n) { AnnounceDAO announceDAO = new AnnounceDAO(); return announceDAO.AnnounceFollow(Id, cId, n); }
public DataTable GetAnnounceViewHome(string lang, int n, string approval) { AnnounceDAO announceDAO = new AnnounceDAO(); return announceDAO.GetAnnounceViewHome(lang, n, approval); }
public DataTable GetAnnounceViewHome(string lang, int n) { AnnounceDAO announceDAO = new AnnounceDAO(); return announceDAO.GetAnnounceViewHome(lang, n); }
public DataTable GetAnnounceNews(int num) { AnnounceDAO announceDAO = new AnnounceDAO(); return announceDAO.GetAnnounceNews(num); }
public Announce GetAnnounceById(int nId) { AnnounceDAO announceDAO = new AnnounceDAO(); return announceDAO.GetAnnounceById(nId); }