mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.6 KiB
45 lines
1.6 KiB
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Application.Dtos;
|
|
using Volo.Abp.Http.Client;
|
|
using Volo.Abp.Http.Modeling;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.Http.Client.ClientProxying;
|
|
using Volo.Abp.FeatureManagement;
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace Volo.Abp.FeatureManagement.ClientProxies;
|
|
|
|
[Dependency(ReplaceServices = true)]
|
|
[ExposeServices(typeof(IFeatureAppService), typeof(FeaturesClientProxy))]
|
|
public partial class FeaturesClientProxy : ClientProxyBase<IFeatureAppService>, IFeatureAppService
|
|
{
|
|
public virtual async Task<GetFeatureListResultDto> GetAsync(string providerName, string providerKey)
|
|
{
|
|
return await RequestAsync<GetFeatureListResultDto>(nameof(GetAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(string), providerName },
|
|
{ typeof(string), providerKey }
|
|
});
|
|
}
|
|
|
|
public virtual async Task UpdateAsync(string providerName, string providerKey, UpdateFeaturesDto input)
|
|
{
|
|
await RequestAsync(nameof(UpdateAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(string), providerName },
|
|
{ typeof(string), providerKey },
|
|
{ typeof(UpdateFeaturesDto), input }
|
|
});
|
|
}
|
|
|
|
public virtual async Task DeleteAsync(string providerName, string providerKey)
|
|
{
|
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(string), providerName },
|
|
{ typeof(string), providerKey }
|
|
});
|
|
}
|
|
}
|
|
|