public IActionResult DeleteComment(int commentId) { var postComment = _postCommentService.GetById(commentId); if (!postComment.Success) { return(BadRequest(postComment.Message)); } var result = _postCommentService.Delete(postComment.Data); if (result.Success) { return(Ok(result.Message)); } return(BadRequest(result.Message)); }