Exemple #1
0
        public async Task <CommentVoteDTO> Vote(CommentVoteDTO vote)
        {
            var v     = mapper.Map <CommentVote>(vote);
            var added = await commentManager.Vote(v);

            return(mapper.Map <CommentVoteDTO>(added));
        }