Class FeaturesController
Implements
Inherited Members
Namespace: Volo.Abp.FeatureManagement
Assembly: Volo.Abp.FeatureManagement.HttpApi.dll
Syntax
[RemoteService(true, Name = "AbpFeatureManagement")]
[Area("featureManagement")]
[Route("api/feature-management/features")]
public class FeaturesController : AbpControllerBase, IAvoidDuplicateCrossCuttingConcerns, IFeatureAppService, IApplicationService, IRemoteService
Constructors
FeaturesController(IFeatureAppService)
Declaration
public FeaturesController(IFeatureAppService featureAppService)
Parameters
| Type | Name | Description |
|---|---|---|
| IFeatureAppService | featureAppService |
Properties
FeatureAppService
Declaration
protected IFeatureAppService FeatureAppService { get; }
Property Value
| Type | Description |
|---|---|
| IFeatureAppService |
Methods
DeleteAsync(string, string)
Declaration
[HttpDelete]
public virtual Task DeleteAsync(string providerName, string providerKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | providerName | |
| string | providerKey |
Returns
| Type | Description |
|---|---|
| Task |
GetAsync(string, string)
Declaration
[HttpGet]
public virtual Task<GetFeatureListResultDto> GetAsync(string providerName, string providerKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | providerName | |
| string | providerKey |
Returns
| Type | Description |
|---|---|
| Task<GetFeatureListResultDto> |
UpdateAsync(string, string, UpdateFeaturesDto)
Declaration
[HttpPut]
public virtual Task UpdateAsync(string providerName, string providerKey, UpdateFeaturesDto input)
Parameters
| Type | Name | Description |
|---|---|---|
| string | providerName | |
| string | providerKey | |
| UpdateFeaturesDto | input |
Returns
| Type | Description |
|---|---|
| Task |