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

            newsCommentDAO.DeleteNewsComment(restr);
        }
Ejemplo n.º 3
0
        public DataTable GetAllViewAnnounceComment(int ID)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.GetAllViewAnnounceComment(ID));
        }
Ejemplo n.º 4
0
        public DataTable GetAllViewNewsComment()
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

            return(newsCommentDAO.GetAllViewNewsComment());
        }
Ejemplo n.º 5
0
        public DataTable GetAllGroupCateNewsComment(int group)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

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

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

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

            newsCommentDAO.DeleteNewsComment(commentID);
        }
Ejemplo n.º 9
0
        public void CreateNewsComment(NewsComment newsComment)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

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

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

            newsCommentDAO.UpdateNewsComment(newsComment);
        }
Ejemplo n.º 12
0
        public DataTable GetNewsCommentByNewsID(int newsID)
        {
            NewsCommentDAO newsCommentDAO = new NewsCommentDAO();

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

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

            return(newsCommentDAO.GetAllViewDownloadComment(ID));
        }