protected async override Task <IEnumerable <CommentView> > HandleInput(FindByValueParams <int> input)
        {
            using (var connection = database.GetConnection()) {
                ICommentRepo commentRepo = database.GetRepo <ICommentRepo>(connection);

                IEnumerable <Comment> comments = await commentRepo.FindByPost(input.Value);

                if (input.User != null)
                {
                    IVoteRepo voteRepo = database.GetRepo <IVoteRepo>(connection);

                    foreach (Comment c in comments)
                    {
                        await GetVotes(voteRepo, c, input.User);
                    }
                }

                return(comments.Select(c => commentMapper.Map(c)));
            }
        }