コード例 #1
0
        public IActionResult CommentExists(int userId, int postId)
        {
            var exists = _postCommentService.PostCommentExist(userId, postId);

            CommentForReturnDTO model = new CommentForReturnDTO();

            model.Exists = exists.Data;

            return(Ok(model));
        }