public async Task <bool> DeleteAsync(Guid id)
        {
            await _promoCodeRepository.DeleteAsync(id);

            return(true);
        }
Beispiel #2
0
 public Task DeleteAsync(string key) => _codeRepository.DeleteAsync(key);
Beispiel #3
0
        public async Task DeleteAsync(string key)
        {
            await _innerRepository.DeleteAsync(key);

            await _distributedCache.RemoveAsync(key);
        }