Inheritance
System.Object
CommentPublicAppService
Implements
IApplicationService
Assembly: Volo.CmsKit.Public.Application.dll
public class CommentPublicAppService : ApplicationService, ICommentPublicAppService, IApplicationService
Constructors
Declaration
public CommentPublicAppService(ICommentRepository commentRepository, ICmsUserLookupService cmsUserLookupService, IOptions<CmsKitOptions> cmsKitOptions)
Parameters
Type |
Name |
Description |
ICommentRepository |
commentRepository |
|
ICmsUserLookupService |
cmsUserLookupService |
|
IOptions<CmsKitOptions> |
cmsKitOptions |
|
Properties
Declaration
protected CmsKitOptions CmsKitOptions { get; }
Property Value
Type |
Description |
CmsKitOptions |
|
Declaration
protected ICmsUserLookupService CmsUserLookupService { get; }
Property Value
Type |
Description |
ICmsUserLookupService |
|
Declaration
protected ICommentRepository CommentRepository { get; }
Property Value
Type |
Description |
ICommentRepository |
|
Methods
Declaration
public virtual Task<CommentDto> CreateAsync(string entityType, string entityId, CreateCommentInput input)
Parameters
Type |
Name |
Description |
System.String |
entityType |
|
System.String |
entityId |
|
CreateCommentInput |
input |
|
Returns
Declaration
public virtual Task DeleteAsync(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
Declaration
public virtual Task<ListResultDto<CommentWithDetailsDto>> GetListAsync(string entityType, string entityId)
Parameters
Type |
Name |
Description |
System.String |
entityType |
|
System.String |
entityId |
|
Returns
Declaration
public virtual Task<CommentDto> UpdateAsync(Guid id, UpdateCommentInput input)
Parameters
Returns
Implements
IApplicationService
Extension Methods