diff --git a/rest/src/main/java/cz/muni/fi/pa165/icehockeymanager/rest/controller/IceHockeyManagerApi.java b/rest/src/main/java/cz/muni/fi/pa165/icehockeymanager/rest/controller/IceHockeyManagerApi.java
index 9f68de96d54af4e80795c3d66bae59f714970608..f2d2525bbabeafac734a3f178fd1cb96c1a1b214 100644
--- a/rest/src/main/java/cz/muni/fi/pa165/icehockeymanager/rest/controller/IceHockeyManagerApi.java
+++ b/rest/src/main/java/cz/muni/fi/pa165/icehockeymanager/rest/controller/IceHockeyManagerApi.java
@@ -1,9 +1,6 @@
 package cz.muni.fi.pa165.icehockeymanager.rest.controller;
 
-import cz.muni.fi.pa165.icehockeymanager.dto.PlayerCreateDTO;
-import cz.muni.fi.pa165.icehockeymanager.dto.PlayerDTO;
-import cz.muni.fi.pa165.icehockeymanager.dto.TeamCreateDTO;
-import cz.muni.fi.pa165.icehockeymanager.dto.TeamDTO;
+import cz.muni.fi.pa165.icehockeymanager.dto.*;
 import cz.muni.fi.pa165.icehockeymanager.facades.LeagueManagerFacade;
 import cz.muni.fi.pa165.icehockeymanager.facades.TeamManagerFacade;
 import cz.muni.fi.pa165.icehockeymanager.facades.UserFacade;
@@ -68,9 +65,13 @@ public class IceHockeyManagerApi {
     }
 
     @GetMapping("/game/team/{id}")
-    public final Collection<TeamDTO> getGamesForTeam(@PathVariable Long id) {
-        return userFacade.getTeamsInLeague();
+    public final Collection<GameDTO> getGamesForTeam(@PathVariable Long id) {
+        return userFacade.getGamesForTeam(id);
     }
 
+    @GetMapping("/game/all")
+    public final Collection<GameDTO> getGamesForLeague() {
+        return userFacade.getGamesForLeague();
+    }
 
 }