1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- 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);
- }
- }
|