Show / Hide Table of Contents

Class CommentPublicController

Inheritance
System.Object
CmsKitControllerBase
CmsKitPublicControllerBase
CommentPublicController
Implements
ICommentPublicAppService
IApplicationService
Namespace: Volo.CmsKit.Public.Comments
Assembly: Volo.CmsKit.Public.HttpApi.dll
Syntax
public class CommentPublicController : CmsKitPublicControllerBase, ICommentPublicAppService, IApplicationService

Constructors

CommentPublicController(ICommentPublicAppService)

Declaration
public CommentPublicController(ICommentPublicAppService commentPublicAppService)
Parameters
Type Name Description
ICommentPublicAppService commentPublicAppService

Properties

CommentPublicAppService

Declaration
public ICommentPublicAppService CommentPublicAppService { get; }
Property Value
Type Description
ICommentPublicAppService

Methods

CreateAsync(String, String, CreateCommentInput)

Declaration
public Task<CommentDto> CreateAsync(string entityType, string entityId, CreateCommentInput input)
Parameters
Type Name Description
System.String entityType
System.String entityId
CreateCommentInput input
Returns
Type Description
System.Threading.Tasks.Task<CommentDto>

DeleteAsync(Guid)

Declaration
public Task DeleteAsync(Guid id)
Parameters
Type Name Description
System.Guid id
Returns
Type Description
System.Threading.Tasks.Task

GetListAsync(String, String)

Declaration
public Task<ListResultDto<CommentWithDetailsDto>> GetListAsync(string entityType, string entityId)
Parameters
Type Name Description
System.String entityType
System.String entityId
Returns
Type Description
System.Threading.Tasks.Task<ListResultDto<CommentWithDetailsDto>>

UpdateAsync(Guid, UpdateCommentInput)

Declaration
public Task<CommentDto> UpdateAsync(Guid id, UpdateCommentInput input)
Parameters
Type Name Description
System.Guid id
UpdateCommentInput input
Returns
Type Description
System.Threading.Tasks.Task<CommentDto>

Implements

ICommentPublicAppService
IApplicationService

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