using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using GxPress.Common.Page;
using GxPress.Request.App.TopicComment;
using GxPress.Result.App.TopicComment;
using Datory;
namespace GxPress.Repository.Interface
{
public interface ITopicCommentRepository : IRepository
{
///
/// 添加文章评论
///
///
///
Task TopicCommentInAsync(TopicCommentInRequest request);
Task> GetPagedList(TopicCommentSearchPageRequest request);
Task GetCountAsync(int articleId);
Task> GetPageListAsync(TopicCommentSearchPageRequest request);
Task> GetTopicCommentReplyResultByPid(int pid, List TopicCommentReplyResults);
///
/// 删除评论
///
///
///
Task DeleteTopicCommentAsync(TopicCommentDeleteRequest request);
///
/// 获取文章的评论条数
///
///
///
Task GetTopicCommentCountAsync(int TopicId);
Task CountAsync(SqlKata.Query query);
}
}