public SportService(JudgesDbContext judgesDbContext, IRedisCache <Sport> sportCache) { _sportCache = sportCache ?? throw new ArgumentNullException(nameof(sportCache)); _judgesDbContext = judgesDbContext ?? throw new ArgumentNullException(nameof(judgesDbContext)); }
public SportsRedisCache(IDistributedCache cache, JudgesDbContext judgesDbContext) : base(cache, judgesDbContext) { }
public EntitiesRedisCache(IDistributedCache cache, JudgesDbContext judgesDbContext) { _cache = cache; _judgesDbContext = judgesDbContext; }
public EntitiesMemoryCache(IMemoryCache cache, JudgesDbContext judgesDbContext) { _cache = cache; _judgesDbContext = judgesDbContext; }
public JudgeService(JudgesDbContext judgesDbContext, IEventService eventService) { _eventService = eventService ?? throw new ArgumentNullException(nameof(eventService)); _judgesDbContext = judgesDbContext ?? throw new ArgumentNullException(nameof(judgesDbContext)); }
public SportsMemoryCache(IMemoryCache cache, JudgesDbContext judgesDbContext) : base(cache, judgesDbContext) { }