diff --git a/ProjectLighthouse/Controllers/EnterLevelController.cs b/ProjectLighthouse/Controllers/EnterLevelController.cs index 1c783cef..d3a22774 100644 --- a/ProjectLighthouse/Controllers/EnterLevelController.cs +++ b/ProjectLighthouse/Controllers/EnterLevelController.cs @@ -22,13 +22,13 @@ namespace LBPUnion.ProjectLighthouse.Controllers [HttpGet("enterLevel/{id:int}")] public async Task EnterLevel(int id) { - Slot? slot = await this.database.Slots.FirstOrDefaultAsync(s => s.SlotId == id); + /*Slot? slot = await this.database.Slots.FirstOrDefaultAsync(s => s.SlotId == id); if (slot == null) return this.NotFound(); slot.Plays++; await this.database.SaveChangesAsync(); - + */ return this.Ok(); } } diff --git a/ProjectLighthouse/Controllers/MatchController.cs b/ProjectLighthouse/Controllers/MatchController.cs index 73ec3bbb..e69f6311 100644 --- a/ProjectLighthouse/Controllers/MatchController.cs +++ b/ProjectLighthouse/Controllers/MatchController.cs @@ -61,7 +61,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers #endregion #region Process match data - + /* if (matchData is CreateRoom createRoom) { if (createRoom.Slots.Count == 0) return this.BadRequest(); @@ -79,7 +79,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers await this.database.SaveChangesAsync(); } } - + */ #endregion #region Update LastMatch