Beispiel #1
0
        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);
        }
Beispiel #2
0
        public void DeleteNewsComment(string strId)
        {
            string         restr          = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','");
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            newsCommentDAO.DeleteNewsComment(restr);
        }
Beispiel #3
0
        public DataTable GetAllViewAnnounceComment(int ID)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.GetAllViewAnnounceComment(ID));
        }
Beispiel #4
0
        public DataTable GetAllViewNewsComment()
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.GetAllViewNewsComment());
        }
Beispiel #5
0
        public DataTable GetAllGroupCateNewsComment(int group)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.GetAllGroupCateNewsComment(group));
        }
Beispiel #6
0
        public NewsComment GetNewsCommentById(int commentID)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.GetNewsCommentById(commentID));
        }
Beispiel #7
0
        public int CreateNewsCommentGet(NewsComment newsComment)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.CreateNewsCommentGet(newsComment));
        }
Beispiel #8
0
        public void DeleteNewsComment(int commentID)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            newsCommentDAO.DeleteNewsComment(commentID);
        }
Beispiel #9
0
        public void CreateNewsComment(NewsComment newsComment)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            newsCommentDAO.CreateNewsComment(newsComment);
        }
Beispiel #10
0
        public void UpdateNewsComment(int Id, string value, string username, DateTime date)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            newsCommentDAO.UpdateNewsComment(Id, value, username, date);
        }
Beispiel #11
0
        public void UpdateNewsComment(NewsComment newsComment)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            newsCommentDAO.UpdateNewsComment(newsComment);
        }
Beispiel #12
0
        public DataTable GetNewsCommentByNewsID(int newsID)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.GetNewsCommentByNewsID(newsID));
        }
Beispiel #13
0
        public DataTable GetAllNewsGroupComment(int ID, int group)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.GetAllNewsGroupComment(ID, group));
        }
Beispiel #14
0
        public DataTable GetAllViewDownloadComment(int ID)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.GetAllViewDownloadComment(ID));
        }