public async Task <IActionResult> UpdateComment([FromBody] IdeaCommentDto comment) { comment.OwnerId = _userIdentityProvider.GetUserId(); await _ideaCommentService.UpdateAsync(comment); return(Json(new { message = "Comment updated successfully" })); }