@RequestMapping(value = "/seasons/{id}", method = RequestMethod.GET)
 public Season season(@PathVariable long id) {
   return seasonRepository.findOne(id);
 }
 @RequestMapping(value = "/seasons/{id}", method = RequestMethod.PUT)
 public Season season(@PathVariable long id, @RequestBody Season season) {
   return seasonRepository.save(season);
 }
 @RequestMapping("/seasons")
 public Iterable<Season> seasons() {
   return seasonRepository.findAll();
 }