Inheritance
System.Object
CommentPublicController
Implements
IApplicationService
Assembly: Volo.CmsKit.Public.HttpApi.dll
public class CommentPublicController : CmsKitPublicControllerBase, ICommentPublicAppService, IApplicationService
Constructors
Declaration
public CommentPublicController(ICommentPublicAppService commentPublicAppService)
Parameters
Properties
Declaration
public ICommentPublicAppService CommentPublicAppService { get; }
Property Value
Methods
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> |
|
Declaration
public Task DeleteAsync(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public Task<ListResultDto<CommentWithDetailsDto>> GetListAsync(string entityType, string entityId)
Parameters
Type |
Name |
Description |
System.String |
entityType |
|
System.String |
entityId |
|
Returns
Declaration
public Task<CommentDto> UpdateAsync(Guid id, UpdateCommentInput input)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<CommentDto> |
|
Implements
IApplicationService
Extension Methods