Esempio n. 1
0
        public async Task ClearCache()
        {
            var keys = await _context.Answers
                       .Select(a => a.Intent)
                       .Distinct()
                       ?.ToListAsync();

            await _cache.KeyListDeleteAsync(keys);
        }