Show / Hide Table of Contents

Interface ICommentAppService

Namespace: Volo.Blogging.Comments
Assembly: Volo.Blogging.Application.Contracts.dll
Syntax
public interface ICommentAppService : IApplicationService

Methods

CreateAsync(CreateCommentDto)

Declaration
Task<CommentWithDetailsDto> CreateAsync(CreateCommentDto input)
Parameters
Type Name Description
CreateCommentDto input
Returns
Type Description
Task<CommentWithDetailsDto>

DeleteAsync(Guid)

Declaration
Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetHierarchicalListOfPostAsync(Guid)

Declaration
Task<List<CommentWithRepliesDto>> GetHierarchicalListOfPostAsync(Guid postId)
Parameters
Type Name Description
Guid postId
Returns
Type Description
Task<List<CommentWithRepliesDto>>

UpdateAsync(Guid, UpdateCommentDto)

Declaration
Task<CommentWithDetailsDto> UpdateAsync(Guid id, UpdateCommentDto input)
Parameters
Type Name Description
Guid id
UpdateCommentDto input
Returns
Type Description
Task<CommentWithDetailsDto>

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft