public JsonResult AddComment(string comment, string userID, string userName) { bool isAdd = CommentFO.Add(CommentType.Posting, comment, userID, userName); return(Json(isAdd)); }
public JsonResult GetUserComments(string userID) { List <S_D_Comment> list = CommentFO.GetComments(CommentType.Posting, userID); return(Json(list)); }