public async Task <IActionResult> Close([FromRoute] string code) { try { await _gameService.AdminCloseGame(code); return(Ok()); } catch (LobbyNotFoundException) { return(BadRequest(new APIError("Lobby not found", "ERR_LOBBY_NOT_FOUND"))); } }