288289290291292293294295296297298
++module.upVoteCount; module.save(); } VoteResponseForm responseForm = new VoteResponseForm(); responseForm.upVotes = module.upVoteCount; responseForm.downVotes = module.downVoteCount; result = ok(Json.toJson(responseForm)); } return result;
348349350351352353354355356357358
++module.downVoteCount; module.save(); } VoteResponseForm responseForm = new VoteResponseForm(); responseForm.upVotes = module.upVoteCount; responseForm.downVotes = module.downVoteCount; result = ok(Json.toJson(responseForm)); } return result;