Show / Hide Table of Contents

Interface ICommentPublicAppService

Namespace: Volo.CmsKit.Public.Comments
Assembly: Volo.CmsKit.Public.Application.Contracts.dll
Syntax
public interface ICommentPublicAppService : IApplicationService, IRemoteService

Methods

CreateAsync(string, string, CreateCommentInput)

Declaration
Task<CommentDto> CreateAsync(string entityType, string entityId, CreateCommentInput input)
Parameters
Type Name Description
string entityType
string entityId
CreateCommentInput input
Returns
Type Description
Task<CommentDto>

DeleteAsync(Guid)

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

GetListAsync(string, string)

Declaration
Task<ListResultDto<CommentWithDetailsDto>> GetListAsync(string entityType, string entityId)
Parameters
Type Name Description
string entityType
string entityId
Returns
Type Description
Task<ListResultDto<CommentWithDetailsDto>>

UpdateAsync(Guid, UpdateCommentInput)

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

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform