More features
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using DCGEngine.Database.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using SVSim.Database.Models;
|
||||
|
||||
@@ -19,7 +18,7 @@ public class CardRepository : BaseRepository<ShadowverseCardEntry>, ICardReposit
|
||||
public async Task<List<ShadowverseCardEntry>> GetAllBasic()
|
||||
{
|
||||
return await DbContext.Set<ShadowverseCardSetEntry>().Where(set => set.IsBasic).SelectMany(set => set.Cards)
|
||||
.Cast<ShadowverseCardEntry>().ToListAsync();
|
||||
.ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<List<ShadowverseCardSetEntry>> GetCardSets(bool onlyInRotation)
|
||||
|
||||
Reference in New Issue
Block a user