public IActionResult GetComment(int id) { var postComment = _postCommentService.GetById(id); if (postComment.Success) { var result = _mapper.Map <CommentForReturnDTO>(postComment); return(Ok(result)); } return(BadRequest(postComment.Message)); }