From a3a49077b5b677931b337da099dcb6039c3ded8b Mon Sep 17 00:00:00 2001 From: gamer147 Date: Fri, 29 May 2026 14:07:30 -0400 Subject: [PATCH] refactor(load): drop now-dead card/collection repo deps after entitlements move Co-Authored-By: Claude Sonnet 4.6 --- SVSim.EmulatedEntrypoint/Controllers/LoadController.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/SVSim.EmulatedEntrypoint/Controllers/LoadController.cs b/SVSim.EmulatedEntrypoint/Controllers/LoadController.cs index 01d99ac..d9feae1 100644 --- a/SVSim.EmulatedEntrypoint/Controllers/LoadController.cs +++ b/SVSim.EmulatedEntrypoint/Controllers/LoadController.cs @@ -6,8 +6,6 @@ using SVSim.Database.Models; using SVSim.Database.Models.Config; using PreReleaseInfoEntity = SVSim.Database.Models.PreReleaseInfo; using PreReleaseInfoDto = SVSim.EmulatedEntrypoint.Models.Dtos.PreReleaseInfo; -using SVSim.Database.Repositories.Card; -using SVSim.Database.Repositories.Collectibles; using SVSim.Database.Repositories.Globals; using SVSim.Database.Repositories.Viewer; using SVSim.Database.Services; @@ -42,8 +40,6 @@ public class LoadController : SVSimController }; private readonly IViewerRepository _viewerRepository; - private readonly ICardRepository _cardRepository; - private readonly ICollectionRepository _collectionRepository; private readonly IGlobalsRepository _globalsRepository; private readonly ICardAcquisitionService _acquisition; private readonly IGameConfigService _config; @@ -52,15 +48,12 @@ public class LoadController : SVSimController private readonly SVSimDbContext _db; private readonly IViewerEntitlements _entitlements; - public LoadController(IViewerRepository viewerRepository, ICardRepository cardRepository, - ICollectionRepository collectionRepository, IGlobalsRepository globalsRepository, + public LoadController(IViewerRepository viewerRepository, IGlobalsRepository globalsRepository, ICardAcquisitionService acquisition, IGameConfigService config, IBattlePassService battlePass, IViewerMissionStateService missionState, SVSimDbContext db, IViewerEntitlements entitlements) { _viewerRepository = viewerRepository; - _cardRepository = cardRepository; - _collectionRepository = collectionRepository; _globalsRepository = globalsRepository; _acquisition = acquisition; _config = config;