Assembly: Volo.CmsKit.Domain.dll
public interface ICommentRepository : IBasicRepository<Comment, Guid>, IBasicRepository<Comment>, IReadOnlyBasicRepository<Comment, Guid>, IReadOnlyBasicRepository<Comment>, IRepository
Methods
Declaration
Task DeleteWithRepliesAsync(Comment comment, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
Comment |
comment |
|
CancellationToken |
cancellationToken |
|
Returns
Declaration
Task<List<CommentWithAuthorQueryResultItem>> GetListWithAuthorsAsync(string entityType, string entityId, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
System.String |
entityType |
|
System.String |
entityId |
|
CancellationToken |
cancellationToken |
|
Returns
Extension Methods