Assembly: Volo.Blogging.Domain.dll
public interface ICommentRepository : IBasicRepository<Comment, Guid>, IBasicRepository<Comment>, IReadOnlyBasicRepository<Comment, Guid>, IReadOnlyBasicRepository<Comment>, IRepository
Methods
Declaration
Task DeleteOfPost(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
Declaration
Task<int> GetCommentCountOfPostAsync(Guid postId)
Parameters
Type |
Name |
Description |
Guid |
postId |
|
Returns
Type |
Description |
Task<System.Int32> |
|
Declaration
Task<List<Comment>> GetListOfPostAsync(Guid postId)
Parameters
Type |
Name |
Description |
Guid |
postId |
|
Returns
Type |
Description |
Task<List<Comment>> |
|
Declaration
Task<List<Comment>> GetRepliesOfComment(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
Type |
Description |
Task<List<Comment>> |
|
Extension Methods