Class BlogFeatureAdminController
Inheritance
BlogFeatureAdminController
Implements
Inherited Members
Namespace: Volo.CmsKit.Admin.Blogs
Assembly: Volo.CmsKit.Admin.HttpApi.dll
Syntax
[RequiresFeature(new string[] { "CmsKit.BlogEnable" })]
[RequiresGlobalFeature(typeof(BlogsFeature))]
[RemoteService(true, Name = "CmsKitAdmin")]
[Area("cms-kit-admin")]
[Authorize("CmsKit.Blogs.Features")]
[Route("api/cms-kit-admin/blogs/{blogId}/features")]
public class BlogFeatureAdminController : CmsKitAdminController, IAvoidDuplicateCrossCuttingConcerns, IBlogFeatureAdminAppService, IApplicationService, IRemoteService
Constructors
BlogFeatureAdminController(IBlogFeatureAdminAppService)
Declaration
public BlogFeatureAdminController(IBlogFeatureAdminAppService blogFeatureAdminAppService)
Parameters
Type | Name | Description |
---|---|---|
IBlogFeatureAdminAppService | blogFeatureAdminAppService |
Properties
BlogFeatureAdminAppService
Declaration
protected IBlogFeatureAdminAppService BlogFeatureAdminAppService { get; }
Property Value
Type | Description |
---|---|
IBlogFeatureAdminAppService |
Methods
GetListAsync(Guid)
Declaration
[HttpGet]
public Task<List<BlogFeatureDto>> GetListAsync(Guid blogId)
Parameters
Type | Name | Description |
---|---|---|
Guid | blogId |
Returns
Type | Description |
---|---|
Task<List<BlogFeatureDto>> |
SetAsync(Guid, BlogFeatureInputDto)
Declaration
[HttpPut]
public Task SetAsync(Guid blogId, BlogFeatureInputDto dto)
Parameters
Type | Name | Description |
---|---|---|
Guid | blogId | |
BlogFeatureInputDto | dto |
Returns
Type | Description |
---|---|
Task |