public virtual Task UpdateAsync(string providerName, string providerKey, UpdateFeaturesDto input) { return(FeatureAppService.UpdateAsync(providerName, providerKey, input)); }
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); } }