generate-proxy feature management

pull/15129/head
Fatih KILIÇ 3 years ago
parent f92e8fa9bd
commit d0ae2a855b

@ -8,6 +8,16 @@ import { Injectable } from '@angular/core';
export class FeaturesService { export class FeaturesService {
apiName = 'AbpFeatureManagement'; apiName = 'AbpFeatureManagement';
delete = (providerName: string, providerKey: string) =>
this.restService.request<any, void>({
method: 'DELETE',
url: '/api/feature-management/features',
params: { providerName, providerKey },
},
{ apiName: this.apiName });
get = (providerName: string, providerKey: string) => get = (providerName: string, providerKey: string) =>
this.restService.request<any, GetFeatureListResultDto>({ this.restService.request<any, GetFeatureListResultDto>({
method: 'GET', method: 'GET',
@ -16,6 +26,7 @@ export class FeaturesService {
}, },
{ apiName: this.apiName }); { apiName: this.apiName });
update = (providerName: string, providerKey: string, input: UpdateFeaturesDto) => update = (providerName: string, providerKey: string, input: UpdateFeaturesDto) =>
this.restService.request<any, void>({ this.restService.request<any, void>({
method: 'PUT', method: 'PUT',

Loading…
Cancel
Save