コード例 #1
0
        public JsonResult AddComment(string comment, string userID, string userName)
        {
            bool isAdd = CommentFO.Add(CommentType.Posting, comment, userID, userName);

            return(Json(isAdd));
        }
コード例 #2
0
        public JsonResult GetUserComments(string userID)
        {
            List <S_D_Comment> list = CommentFO.GetComments(CommentType.Posting, userID);

            return(Json(list));
        }