1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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<int> TopicCommentInAsync(TopicCommentInRequest request);
- Task<PagedList<TopicCommentPageResult>> GetPagedList(TopicCommentSearchPageRequest request);
- Task<int> GetCountAsync(int articleId);
- Task<IEnumerable<TopicCommentPageResult>> GetPageListAsync(TopicCommentSearchPageRequest request);
- Task<List<TopicCommentReplyResult>> GetTopicCommentReplyResultByPid(int pid, List<TopicCommentReplyResult> TopicCommentReplyResults);
-
-
-
-
-
- Task<bool> DeleteTopicCommentAsync(TopicCommentDeleteRequest request);
-
-
-
-
-
- Task<int> GetTopicCommentCountAsync(int TopicId);
- Task<int> CountAsync(SqlKata.Query query);
- }
- }
|