Inheritance
System.Object
CommentAppService
Implements
IApplicationService
Assembly: Volo.Blogging.Application.dll
public class CommentAppService : BloggingAppServiceBase, ICommentAppService, IApplicationService
Constructors
Declaration
public CommentAppService(ICommentRepository commentRepository, IGuidGenerator guidGenerator, IBlogUserLookupService userLookupService)
Parameters
Fields
Declaration
protected IBlogUserLookupService UserLookupService
Field Value
Methods
Declaration
public Task<CommentWithDetailsDto> CreateAsync(CreateCommentDto input)
Parameters
Returns
Declaration
public Task DeleteAsync(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
Declaration
public Task<List<CommentWithRepliesDto>> GetHierarchicalListOfPostAsync(Guid postId)
Parameters
Type |
Name |
Description |
Guid |
postId |
|
Returns
Declaration
public Task<CommentWithDetailsDto> UpdateAsync(Guid id, UpdateCommentDto input)
Parameters
Returns
Implements
IApplicationService
Extension Methods