public async Task <ActionResult> CommentAsync([FromRoute] string id, [FromBody] CommentRequest request, CancellationToken cancellationToken) { await _answerService.CommentAsync(id, request, cancellationToken); return(Ok()); }
public async Task <ActionResult> CommentAsync(string id, [FromBody] CommentInput comment, CancellationToken cancellationToken) { await _answerService.CommentAsync(id, comment, cancellationToken); return(Ok()); }