[WIP] Use compiled queries
All checks were successful
Test / Run tests (push) Successful in 3m0s

This commit is contained in:
2026-04-04 15:28:30 +02:00
parent bd1e579674
commit c3cf239cba
35 changed files with 332 additions and 302 deletions

View File

@@ -10,7 +10,7 @@ namespace Tests.UnitTests.ServiceTests {
private static async Task InitViewModel(MemberAdminViewModel vm) {
using var ctx = new AppDbContext();
vm.BranchSource = await ctx.Branches.ToListAsync();
vm.BranchSource = await ctx.FetchBranches().ToListAsync();
vm.DefaultKgSource = await ctx.Katastralgemeinden.ToListAsync();
vm.OrtSource = await ctx.PlzDestinations.ToListAsync();
vm.BillingOrtSource = await ctx.PlzDestinations.ToListAsync();