Practice battles work
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -32,4 +32,5 @@ public interface IGlobalsRepository
|
||||
Task<List<FeatureMaintenanceEntry>> GetFeatureMaintenances();
|
||||
Task<PreReleaseInfo?> GetPreReleaseInfo();
|
||||
Task<List<ShadowverseCardSetEntry>> GetRotationCardSets();
|
||||
Task<List<PracticeOpponentEntry>> GetPracticeOpponents();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user