diff --git a/API/ROLAC.API/Services/MealAttendanceService.cs b/API/ROLAC.API/Services/MealAttendanceService.cs index f986b31..c273838 100644 --- a/API/ROLAC.API/Services/MealAttendanceService.cs +++ b/API/ROLAC.API/Services/MealAttendanceService.cs @@ -84,6 +84,8 @@ public class MealAttendanceService : IMealAttendanceService public async Task SetCountsAsync(DateOnly date, int adult, int youth, int kid) { + // Single-editor back-office path, so a tracked load + SaveChanges is fine here; no need for the + // race-safe EnsureRowAsync + ExecuteUpdateAsync pattern, which the EF InMemory test provider can't run. var row = await _db.MealAttendances.FirstOrDefaultAsync(a => a.AttendanceDate == date); if (row is null) {