mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-01 09:48:37 +00:00
parent
3bedec5f70
commit
61a1520695
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ public class ScoreController : ControllerBase
|
|||
break;
|
||||
}
|
||||
|
||||
IQueryable<Score> existingScore = this.database.Scores.Where(s => s.SlotId == score.SlotId && s.PlayerIdCollection == score.PlayerIdCollection);
|
||||
IQueryable<Score> existingScore = this.database.Scores.Where(s => s.SlotId == score.SlotId)
|
||||
.Where(s => s.PlayerIdCollection == score.PlayerIdCollection)
|
||||
.Where(s => s.Type == score.Type);
|
||||
|
||||
if (existingScore.Any())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue