Пример #1
0
 @RequestMapping(value = "/seasons/{id}/games", method = RequestMethod.GET)
 public Iterable<Game> gamesBySeasonId(@PathVariable long id) {
   return gameRepository.findBySeasonId(id);
 }