Class PageFeedbackPublicController
Inheritance
PageFeedbackPublicController
Implements
Inherited Members
Namespace: Volo.CmsKit.Public.PageFeedbacks
Assembly: Volo.CmsKit.Pro.Common.HttpApi.dll
Syntax
[RequiresFeature(new string[] { "CmsKitPro.PageFeedbackEnable" })]
[RequiresGlobalFeature(typeof(PageFeedbackFeature))]
[RemoteService(true, Name = "CmsKitProCommon")]
[Area("cms-kit-pro-common")]
[Route("api/cms-kit-public/page-feedback")]
public class PageFeedbackPublicController : CmsKitProCommonController, IAvoidDuplicateCrossCuttingConcerns, IPageFeedbackPublicAppService, IApplicationService, IRemoteService
Constructors
PageFeedbackPublicController(IPageFeedbackPublicAppService)
Declaration
public PageFeedbackPublicController(IPageFeedbackPublicAppService pageFeedbackPublicAppService)
Parameters
Type | Name | Description |
---|---|---|
IPageFeedbackPublicAppService | pageFeedbackPublicAppService |
Properties
PageFeedbackPublicAppService
Declaration
protected virtual IPageFeedbackPublicAppService PageFeedbackPublicAppService { get; }
Property Value
Type | Description |
---|---|
IPageFeedbackPublicAppService |
Methods
ChangeIsUsefulAsync(ChangeIsUsefulInput)
Declaration
[HttpPost]
[Route("change-is-useful")]
public Task<PageFeedbackDto> ChangeIsUsefulAsync(ChangeIsUsefulInput input)
Parameters
Type | Name | Description |
---|---|---|
ChangeIsUsefulInput | input |
Returns
Type | Description |
---|---|
Task<PageFeedbackDto> |
CreateAsync(CreatePageFeedbackInput)
Declaration
[HttpPost]
public Task<PageFeedbackDto> CreateAsync(CreatePageFeedbackInput input)
Parameters
Type | Name | Description |
---|---|---|
CreatePageFeedbackInput | input |
Returns
Type | Description |
---|---|
Task<PageFeedbackDto> |
InitializeUserNoteAsync(InitializeUserNoteInput)
Declaration
[HttpPost]
[Route("initialize-user-note")]
public Task<PageFeedbackDto> InitializeUserNoteAsync(InitializeUserNoteInput input)
Parameters
Type | Name | Description |
---|---|---|
InitializeUserNoteInput | input |
Returns
Type | Description |
---|---|
Task<PageFeedbackDto> |