Exemplo n.º 1
0
        public static IList<Comment> GetCommentByIDandType(int ObjectId, int ObjectType)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            return objCaller.GetCommentsByTypeandID(ObjectId, ObjectType);
        }
Exemplo n.º 2
0
        public static void Delete(int ID)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            objCaller.Delete(ID);
        }
Exemplo n.º 3
0
        public static IList<Comment> GetPendingComments()
        {
            CommentDataMapper objCaller = new CommentDataMapper();

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

            return objCaller.SearchNewsComment(objectid, catid);
        }
Exemplo n.º 5
0
        public static Comment GetByID(int ID)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            return objCaller.GetByID(ID);
        }
Exemplo n.º 6
0
        public static void Update(Comment obj)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            objCaller.Update(obj);
        }
Exemplo n.º 7
0
        public static int Add(Comment obj)
        {
            CommentDataMapper objCaller = new CommentDataMapper();

            return objCaller.Add(obj);
        }