Exemple #1
0
 public async Task InitializeFavoritesAsync(int userId)
 {
     var response = await _cachingService.AddOrGetExistingAsync
                    (
         userId,
         CacheRegions.UserFavorites,
         () => _graphQLService.GetUserFavoritesAsync(1)
                    ).ConfigureAwait(false);
 }