Revise redis cache consumption

This commit is contained in:
2025-06-22 19:33:37 -06:00
parent 13774093b4
commit 5922a53b93
8 changed files with 21 additions and 25 deletions

View File

@@ -4,10 +4,9 @@
// </copyright>
// ***********************************************************************
using Core.Blueprint.Caching.Adapters;
using Core.Blueprint.Caching.Contracts;
using Core.Blueprint.Caching.Helpers;
using Core.Blueprint.Mongo;
using Core.Blueprint.Redis;
using Core.Blueprint.Redis.Helpers;
using Core.Thalos.Adapters;
using Core.Thalos.Adapters.Common.Enums;
using Core.Thalos.Provider.Contracts;
@@ -27,11 +26,11 @@ namespace Core.Thalos.Provider.Providers.Onboarding
public class UserProvider : IUserProvider
{
private readonly CollectionRepository<UserAdapter> repository;
private readonly CacheSettings cacheSettings;
private readonly ICacheProvider cacheProvider;
private readonly CacheSettings cacheSettings;
private readonly IRedisCacheProvider cacheProvider;
public UserProvider(CollectionRepository<UserAdapter> repository,
ICacheProvider cacheProvider,
IRedisCacheProvider cacheProvider,
IOptions<CacheSettings> cacheSettings
)
{