class MovieController {

    @GetMapping("/movie/get/{id}")
    public ResponseEntity<?> getMovie(@PathVariable("id") final UUID id) {
        try {
            final MovieDto result = movieService.getMovie(id);

            return ResponseEntity.ok(result);
        }
        catch (final MovieNotFoundException ex) {
            return ResponseEntity.notFound().build();
        }
    }

}