Practice battles work

This commit is contained in:
gamer147
2026-05-23 22:46:11 -04:00
parent 704542786a
commit 21b97269ff
15 changed files with 34968 additions and 82 deletions

View File

@@ -111,4 +111,7 @@ public class GlobalsRepository : IGlobalsRepository
public Task<List<ShadowverseCardSetEntry>> GetRotationCardSets() =>
_dbContext.CardSets.AsNoTracking().Where(s => s.IsInRotation).ToListAsync();
public Task<List<PracticeOpponentEntry>> GetPracticeOpponents() =>
_dbContext.PracticeOpponents.AsNoTracking().OrderBy(e => e.ClassId).ThenBy(e => e.Id).ToListAsync();
}

View File

@@ -32,4 +32,5 @@ public interface IGlobalsRepository
Task<List<FeatureMaintenanceEntry>> GetFeatureMaintenances();
Task<PreReleaseInfo?> GetPreReleaseInfo();
Task<List<ShadowverseCardSetEntry>> GetRotationCardSets();
Task<List<PracticeOpponentEntry>> GetPracticeOpponents();
}