updated the proxies

pull/14514/head
malik masis 2 years ago
parent a3f37a7d73
commit 9c73272489

@ -33,4 +33,9 @@ public partial class FeaturesClientProxy : ClientProxyBase<IFeatureAppService>,
{ typeof(UpdateFeaturesDto), input }
});
}
public virtual async Task ResetToDefaultAsync()
{
await RequestAsync(nameof(ResetToDefaultAsync));
}
}

@ -7,6 +7,8 @@
"Volo.Abp.FeatureManagement.FeaturesController": {
"controllerName": "Features",
"controllerGroupName": "Features",
"isRemoteService": true,
"apiVersion": null,
"type": "Volo.Abp.FeatureManagement.FeaturesController",
"interfaces": [
{
@ -147,6 +149,21 @@
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.FeatureManagement.IFeatureAppService"
},
"ResetToDefaultAsync": {
"uniqueName": "ResetToDefaultAsync",
"name": "ResetToDefaultAsync",
"httpMethod": null,
"url": "api/feature-management/features",
"supportedVersions": [],
"parametersOnMethod": [],
"parameters": [],
"returnValue": {
"type": "System.Void",
"typeSimple": "System.Void"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.FeatureManagement.IFeatureAppService"
}
}
}

@ -27,6 +27,14 @@
}, ajaxParams));
};
volo.abp.featureManagement.features.resetToDefault = function(ajaxParams) {
return abp.ajax($.extend(true, {
url: abp.appPath + 'api/feature-management/features',
type: 'POST',
dataType: null
}, ajaxParams));
};
})();
})();

Loading…
Cancel
Save