public void UpdateNewsComment(string strId, string value, string username, DateTime date) { string restr = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); newsCommentDAO.UpdateNewsComment(restr, value, username, date); }
public void DeleteNewsComment(string strId) { string restr = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); newsCommentDAO.DeleteNewsComment(restr); }
public DataTable GetAllViewAnnounceComment(int ID) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); return(newsCommentDAO.GetAllViewAnnounceComment(ID)); }
public DataTable GetAllViewNewsComment() { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); return(newsCommentDAO.GetAllViewNewsComment()); }
public DataTable GetAllGroupCateNewsComment(int group) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); return(newsCommentDAO.GetAllGroupCateNewsComment(group)); }
public NewsComment GetNewsCommentById(int commentID) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); return(newsCommentDAO.GetNewsCommentById(commentID)); }
public int CreateNewsCommentGet(NewsComment newsComment) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); return(newsCommentDAO.CreateNewsCommentGet(newsComment)); }
public void DeleteNewsComment(int commentID) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); newsCommentDAO.DeleteNewsComment(commentID); }
public void CreateNewsComment(NewsComment newsComment) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); newsCommentDAO.CreateNewsComment(newsComment); }
public void UpdateNewsComment(int Id, string value, string username, DateTime date) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); newsCommentDAO.UpdateNewsComment(Id, value, username, date); }
public void UpdateNewsComment(NewsComment newsComment) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); newsCommentDAO.UpdateNewsComment(newsComment); }
public DataTable GetNewsCommentByNewsID(int newsID) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); return(newsCommentDAO.GetNewsCommentByNewsID(newsID)); }
public DataTable GetAllNewsGroupComment(int ID, int group) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); return(newsCommentDAO.GetAllNewsGroupComment(ID, group)); }
public DataTable GetAllViewDownloadComment(int ID) { NewsCommentDAO newsCommentDAO = new NewsCommentDAO(); return(newsCommentDAO.GetAllViewDownloadComment(ID)); }