class EcoNewsCommentController {

    @ApiOperation(value = "Count comment likes.")
    @ApiResponses(value = {
        @ApiResponse(code = 200, message = HttpStatuses.OK),
        @ApiResponse(code = 400, message = HttpStatuses.BAD_REQUEST)
    })
    @GetMapping("/count/likes")
    public int getCountOfLikes(Long id) {
        return ecoNewsCommentService.countLikes(id);
    }

}