public static IList<Comment> GetCommentByIDandType(int ObjectId, int ObjectType) { CommentDataMapper objCaller = new CommentDataMapper(); return objCaller.GetCommentsByTypeandID(ObjectId, ObjectType); }
public static void Delete(int ID) { CommentDataMapper objCaller = new CommentDataMapper(); objCaller.Delete(ID); }
public static IList<Comment> GetPendingComments() { CommentDataMapper objCaller = new CommentDataMapper(); return objCaller.GetPendingComments(); }
public static IList<Comment> SearchNewsComment(int objectid, int catid) { CommentDataMapper objCaller = new CommentDataMapper(); return objCaller.SearchNewsComment(objectid, catid); }
public static Comment GetByID(int ID) { CommentDataMapper objCaller = new CommentDataMapper(); return objCaller.GetByID(ID); }
public static void Update(Comment obj) { CommentDataMapper objCaller = new CommentDataMapper(); objCaller.Update(obj); }
public static int Add(Comment obj) { CommentDataMapper objCaller = new CommentDataMapper(); return objCaller.Add(obj); }