function getAllgames(AdminService $ad) { $lobbies = $ad->getAllGames(); return view('admin.allGames', ['lobbies' => $lobbies]); }