public async Task <IActionResult> DeleteComment(string id) { await _ideaCommentService.DeleteCommentAsync(id); return(Json(new { message = "Comment deleted successfully" })); }