public IActionResult PostComment([FromBody] CommentDto commentDto) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } bool rs = _commentLogic.PostComment(commentDto); if (rs == false) { return(NotFound()); } return(Ok()); }