@RequestMapping(value = "divisions", method = RequestMethod.POST)
 public void saveDivision(@RequestBody Division d) {
   divisionRepository.save(d);
 }
 @RequestMapping(value = "divisions", method = RequestMethod.DELETE)
 public void deleteDivision(@RequestParam("id") Integer id) {
   divisionRepository.delete(id);
 }
 @RequestMapping(value = "divisions", method = RequestMethod.GET)
 public Iterable<Division> getDivisions() {
   return divisionRepository.findAll();
 }