예제 #1
0
        public static IList<Comment> GetCommentByIDandType(int ObjectId, int ObjectType)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            return objCaller.GetCommentsByTypeandID(ObjectId, ObjectType);
        }
예제 #2
0
        public static void Delete(int ID)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            objCaller.Delete(ID);
        }
예제 #3
0
        public static IList<Comment> GetPendingComments()
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            return objCaller.GetPendingComments();
        }
예제 #4
0
        public static IList<Comment> SearchNewsComment(int objectid, int catid)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            return objCaller.SearchNewsComment(objectid, catid);
        }
예제 #5
0
        public static Comment GetByID(int ID)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            return objCaller.GetByID(ID);
        }
예제 #6
0
        public static void Update(Comment obj)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            objCaller.Update(obj);
        }
예제 #7
0
        public static int Add(Comment obj)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            return objCaller.Add(obj);
        }