/** Show all Team entities */
 @RequestMapping(value = "/Team", method = RequestMethod.GET)
 @ResponseBody
 public List<Team> listTeams() {
   return new java.util.ArrayList<Team>(teamService.loadTeams());
 }
 /** Create a new Team entity */
 @RequestMapping(value = "/Team", method = RequestMethod.POST)
 @ResponseBody
 public Team newTeam(@RequestBody Team team) {
   teamService.saveTeam(team);
   return teamDAO.findTeamByPrimaryKey(team.getId());
 }
 /** Delete an existing Team entity */
 @RequestMapping(value = "/Team/{team_id}", method = RequestMethod.DELETE)
 @ResponseBody
 public void deleteTeam(@PathVariable Integer team_id) {
   Team team = teamDAO.findTeamByPrimaryKey(team_id);
   teamService.deleteTeam(team);
 }