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> |