public virtual async Task DeleteAsync(string name, string providerName, string providerKey)
        {
            var featureValue = await FeatureValueRepository.FindAsync(name, providerName, providerKey);

            if (featureValue != null)
            {
                await FeatureValueRepository.DeleteAsync(featureValue);
            }
        }
Ejemplo n.º 2
0
        public async Task DeleteAsync(string name, string providerName, string providerKey)
        {
            var featureValue = await FeatureValueRepository.FindAsync(name, providerName, providerKey).ConfigureAwait(false);

            if (featureValue != null)
            {
                await FeatureValueRepository.DeleteAsync(featureValue).ConfigureAwait(false);
            }
        }
Ejemplo n.º 3
0
        public virtual async Task DeleteAsync(string name, string providerName, string providerKey)
        {
            var featureValues = await FeatureValueRepository.FindAllAsync(name, providerName, providerKey);

            foreach (var featureValue in featureValues)
            {
                await FeatureValueRepository.DeleteAsync(featureValue);
            }
        }
Ejemplo n.º 4
0
    public virtual async Task DeleteAsync(string name, string providerName, string providerKey)
    {
        var featureValues = await FeatureValueRepository.FindAllAsync(name, providerName, providerKey);

        foreach (var featureValue in featureValues)
        {
            await FeatureValueRepository.DeleteAsync(featureValue);

            await Cache.RemoveAsync(CalculateCacheKey(name, providerName, providerKey), considerUow : true);
        }
    }