Class BlogFeatureAdminAppService
Inheritance
BlogFeatureAdminAppService
Assembly: Volo.CmsKit.Admin.Application.dll
Syntax
[RequiresFeature(new string[] { "CmsKit.BlogEnable" })]
[RequiresGlobalFeature(typeof(BlogsFeature))]
[Authorize("CmsKit.Blogs.Features")]
public class BlogFeatureAdminAppService : CmsKitAdminAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IBlogFeatureAdminAppService, IApplicationService, IRemoteService
Constructors
BlogFeatureAdminAppService(IBlogFeatureRepository, BlogFeatureManager, IDistributedEventBus)
Declaration
public BlogFeatureAdminAppService(IBlogFeatureRepository blogFeatureRepository, BlogFeatureManager blogFeatureManager, IDistributedEventBus eventBus)
Parameters
Properties
BlogFeatureManager
Declaration
protected BlogFeatureManager BlogFeatureManager { get; }
Property Value
BlogFeatureRepository
Declaration
protected IBlogFeatureRepository BlogFeatureRepository { get; }
Property Value
EventBus
Declaration
protected IDistributedEventBus EventBus { get; }
Property Value
Methods
GetListAsync(Guid)
Declaration
public virtual Task<List<BlogFeatureDto>> GetListAsync(Guid blogId)
Parameters
Type |
Name |
Description |
Guid |
blogId |
|
Returns
SetAsync(Guid, BlogFeatureInputDto)
Declaration
public virtual Task SetAsync(Guid blogId, BlogFeatureInputDto dto)
Parameters
Returns
Implements
Extension Methods