@RequestMapping(value = "/film", method = RequestMethod.POST)
 @ResponseStatus(HttpStatus.OK)
 public void add(@RequestBody Film film) {
   film.setId(UUID.randomUUID().hashCode());
   filmService.add(film);
 }
 @RequestMapping(value = "/film/update", method = RequestMethod.POST)
 @ResponseStatus(HttpStatus.OK)
 public void update(@RequestBody Film film) {
   filmService.update(film);
 }
 @RequestMapping(value = "film/delete", method = RequestMethod.POST)
 @ResponseStatus(HttpStatus.OK)
 public void deleteAll(@RequestBody Integer[] ids) {
   filmService.deleteAll(ids);
 }
 @RequestMapping(value = "/film/{id}", method = RequestMethod.GET)
 @ResponseStatus(HttpStatus.OK)
 @ResponseBody
 public Film get(@PathVariable Integer id) {
   return filmService.get(id);
 }
 @RequestMapping(value = "/films", method = RequestMethod.GET)
 @ResponseStatus(HttpStatus.OK)
 @ResponseBody
 public List<Film> getAll() {
   return filmService.getAll();
 }