public DataTable GetNewsHot(string lang) { NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsHot(lang); }
public DataTable GetNewsByCateHomeList(string strCate, int num, string approval) { string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsByCateHomeList(restr, num, approval); }
public News GetNewsById(int nId) { NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsById(nId); }
public DataTable NewsSearch(string keyword, int cId, string lang) { NewsDAO newsDAO = new NewsDAO(); return newsDAO.NewsSearch(keyword, cId, lang); }
public DataTable GetNewsByCateHomeAll(int n, string strCate) { string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsByCateHomeAll(n, restr); }
public DataTable NewsFollow(int Id, int cId, int n) { NewsDAO newsDAO = new NewsDAO(); return newsDAO.NewsFollow(Id, cId, n); }
public DataTable GetNewsViewHome(string lang, string strCate, int n) { string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsViewHome(lang, restr, n); }
public DataTable GetNewsViewHome(string lang, int n, string approval) { NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsViewHome(lang, n, approval); }
public DataTable GetNewsViewHome(string lang, int n, int cID) { NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsViewHome(lang, n, cID); }
public DataTable GetNewsViewHome(string lang) { NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsViewHome(lang); }