@RequestMapping(method = RequestMethod.POST)
 public void saveCompany(@RequestBody Company c) {
   companyRepository.save(c);
 }
 @RequestMapping(method = RequestMethod.DELETE)
 public void deleteCompany(@RequestParam("id") Integer id) {
   companyRepository.delete(id);
 }
 @RequestMapping(method = RequestMethod.GET)
 public Iterable<Company> getCompanies() {
   return companyRepository.findAll();
 }