Loading rest/src/main/java/cz/muni/fi/pa165/icehockeymanager/rest/controller/PublicController.java +5 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,11 @@ public class PublicController { this.teamManagerFacade = teamManagerFacade; } @GetMapping("/player/all") public final Collection<PlayerDto> getAllPlayers() { return userFacade.getAllPlayers(); } @GetMapping("/player/free") public final Collection<PlayerDto> getFreePlayers() { return teamManagerFacade.getFreePlayers(); Loading Loading
rest/src/main/java/cz/muni/fi/pa165/icehockeymanager/rest/controller/PublicController.java +5 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,11 @@ public class PublicController { this.teamManagerFacade = teamManagerFacade; } @GetMapping("/player/all") public final Collection<PlayerDto> getAllPlayers() { return userFacade.getAllPlayers(); } @GetMapping("/player/free") public final Collection<PlayerDto> getFreePlayers() { return teamManagerFacade.getFreePlayers(); Loading