Efter flytt av statusfält och åter byygt

This commit is contained in:
2025-09-14 12:03:16 +02:00
parent b4898660f2
commit 4e2b71af9f
8 changed files with 336 additions and 45 deletions

View File

@ -13,7 +13,7 @@ public class CombinedRepository : ICombinedRepository
}
IEnumerable<RoundBuilderElement> ICombinedRepository.roundBuilderElements()
public IEnumerable<RoundBuilderElement> roundBuilderElements()
{
var result = (from gameRound in _context.GameRounds
join gamePoint in _context.GamePoints on gameRound.GameRoundId equals gamePoint.GameRoundId
@ -24,11 +24,11 @@ public class CombinedRepository : ICombinedRepository
ParticipantId = participant.ParticipantId,
ParticipantName = participant.LastNameFirstName,
GamePointId = gamePoint.GamePointId,
GameRoundRegNr = gameRound.GameRoundId,
GameRoundRegNr = gamePoint.GameRoundRegNr,
GameRegPoints = gamePoint.GameRegPoints,
GameRoundId = gameRound.GameRoundId,
GameRoundStartDate = gameRound.GameRoundStartDate,
Status = gamePoint.PointStatus
Status = gameRound.GameStatus
}).ToList();
return result;