Beispiel #1
0
 public virtual Task UpdateAsync(string providerName, string providerKey, UpdateFeaturesDto input)
 {
     return(FeatureAppService.UpdateAsync(providerName, providerKey, input));
 }
Beispiel #2
0
        public virtual async Task UpdateAsync([NotNull] string providerName, [NotNull] string providerKey, UpdateFeaturesDto input)
        {
            await CheckProviderPolicy(providerName);

            foreach (var feature in input.Features)
            {
                await FeatureManager.SetAsync(feature.Name, feature.Value, providerName, providerKey);
            }
        }