@RequestMapping(
     value = "/seed",
     method = RequestMethod.POST,
     consumes = MediaType.APPLICATION_JSON_VALUE)
 public void saveSeed(@Valid @RequestBody Seed seed) {
   seedService.save(seed);
 }
 @RequestMapping(value = "/seeds", method = RequestMethod.GET)
 public Iterable<Seed> getSeeds() {
   return seedService.findAll();
 }