Ejemplo n.º 1
0
        public async Task <ActionResult <CommentDto> > AddAnswer(int id, [FromQuery] string answer)
        {
            var comment = await commentService.AddAnswerAsync(id, answer);

            return(Ok(answer));
        }