Пример #1
0
 public async Task <int> Count()
 => await _memoryCache.GetOrCreateAsync(
     $"{_typeName}-Count",
     entry => _languagesService.Count());