class MovieController {

    @GetMapping("/movie/like/{movieId}/{account}")
    public ResponseEntity<?> likeMovie(
        @PathVariable("movieId") final UUID movieId,
        @PathVariable("account") final String account) {

        try {
            movieService.likeMovie(movieId, account);

            return ResponseEntity.ok().build();
        }
        catch (final MovieNotFoundException ex) {
            return ResponseEntity.notFound().build();
        }
        catch (final MovieConditionalException ex) {
            return ResponseEntity.status(HttpStatus.CONFLICT).build();
        }
    }

}