12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- using System.Collections.Generic;
- using System.Threading.Tasks;
- using GxPress.Common.Page;
- using GxPress.Entity;
- using GxPress.Request.Comment;
- using GxPress.Result.Comment;
- using Datory;
- namespace GxPress.Repository.Interface
- {
- public interface ICommentRepository : IRepository
- {
-
-
-
-
-
- Task<int> CommentInAsync(CommentInRequest request);
- Task<PagedList<CommentPageResult>> GetPagedList(CommentSearchPageRequest request);
- Task<int> GetCountAsync(CommentSearchPageRequest request);
- Task<IEnumerable<CommentPageResult>> GetPageListAsync(CommentSearchPageRequest request);
- Task<List<CommentReplyResult>>
- GetCommentReplyResultByPid(int pid, List<CommentReplyResult> commentReplyResults);
-
-
-
-
-
- Task<bool> DeleteCommentAsync(CommentDeleteRequest request);
-
-
-
-
-
- Task<int> GetCommentCountAsync(int articleId);
- Task<Comment> GetAsync(SqlKata.Query query);
- Task<bool> UpdateAsync(Comment comment);
- Task<int> CountAsync(SqlKata.Query query);
- Task<bool> UpdateCommentAsync(CommentUpdateRequest request);
-
-
-
-
-
- Task<PagedList<CommentResult>> GetAllAsync(CommentSearchRequest request);
- }
- }
|