Show / Hide Table of Contents

Class PageFeedbackAdminController

Inheritance
object
CmsKitProAdminController
PageFeedbackAdminController
Implements
IPageFeedbackAdminAppService
IReadOnlyAppService<PageFeedbackDto, Guid, GetPageFeedbackListInput>
IReadOnlyAppService<PageFeedbackDto, PageFeedbackDto, Guid, GetPageFeedbackListInput>
IApplicationService
IRemoteService
IUpdateAppService<PageFeedbackDto, Guid, UpdatePageFeedbackDto>
IDeleteAppService<Guid>
Namespace: Volo.CmsKit.Admin.PageFeedbacks
Assembly: Volo.CmsKit.Pro.Admin.HttpApi.dll
Syntax
[Area("cms-kit-pro-admin")]
[Route("api/cms-kit-admin/page-feedback")]
[Authorize("CmsKit.PageFeedback")]
public class PageFeedbackAdminController : CmsKitProAdminController, IPageFeedbackAdminAppService, IReadOnlyAppService<PageFeedbackDto, Guid, GetPageFeedbackListInput>, IReadOnlyAppService<PageFeedbackDto, PageFeedbackDto, Guid, GetPageFeedbackListInput>, IApplicationService, IRemoteService, IUpdateAppService<PageFeedbackDto, Guid, UpdatePageFeedbackDto>, IDeleteAppService<Guid>

Constructors

PageFeedbackAdminController(IPageFeedbackAdminAppService)

Declaration
public PageFeedbackAdminController(IPageFeedbackAdminAppService pageFeedbackAdminAppService)
Parameters
Type Name Description
IPageFeedbackAdminAppService pageFeedbackAdminAppService

Properties

PageFeedbackAdminAppService

Declaration
protected IPageFeedbackAdminAppService PageFeedbackAdminAppService { get; }
Property Value
Type Description
IPageFeedbackAdminAppService

Methods

DeleteAsync(Guid)

Declaration
[HttpDelete]
[Route("{id}")]
[Authorize("CmsKit.PageFeedback.Delete")]
public Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetAsync(Guid)

Declaration
[HttpGet]
[Route("{id}")]
public Task<PageFeedbackDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<PageFeedbackDto>

GetEntityTypesAsync()

Declaration
[HttpGet]
[Route("entity-types")]
public Task<List<string>> GetEntityTypesAsync()
Returns
Type Description
Task<List<string>>

GetListAsync(GetPageFeedbackListInput)

Declaration
[HttpGet]
public Task<PagedResultDto<PageFeedbackDto>> GetListAsync(GetPageFeedbackListInput input)
Parameters
Type Name Description
GetPageFeedbackListInput input
Returns
Type Description
Task<PagedResultDto<PageFeedbackDto>>

GetSettingsAsync()

Declaration
[HttpGet]
[Route("settings")]
[Authorize("CmsKit.PageFeedback.Settings")]
public Task<List<PageFeedbackSettingDto>> GetSettingsAsync()
Returns
Type Description
Task<List<PageFeedbackSettingDto>>

UpdateAsync(Guid, UpdatePageFeedbackDto)

Declaration
[HttpPut]
[Route("{id}")]
[Authorize("CmsKit.PageFeedback.Update")]
public Task<PageFeedbackDto> UpdateAsync(Guid id, UpdatePageFeedbackDto dto)
Parameters
Type Name Description
Guid id
UpdatePageFeedbackDto dto
Returns
Type Description
Task<PageFeedbackDto>

UpdateSettingsAsync(UpdatePageFeedbackSettingsInput)

Declaration
[HttpPut]
[Route("settings")]
[Authorize("CmsKit.PageFeedback.Settings")]
public Task UpdateSettingsAsync(UpdatePageFeedbackSettingsInput input)
Parameters
Type Name Description
UpdatePageFeedbackSettingsInput input
Returns
Type Description
Task

Implements

IPageFeedbackAdminAppService
Volo.Abp.Application.Services.IReadOnlyAppService<,,>
Volo.Abp.Application.Services.IReadOnlyAppService<,,,>
Volo.Abp.Application.Services.IApplicationService
Volo.Abp.IRemoteService
Volo.Abp.Application.Services.IUpdateAppService<,,>
Volo.Abp.Application.Services.IDeleteAppService<>
In this article
Back to top Powered by Volosoft