public JsonResult RefreshComment(long CommentID, long UID) { ResultInfo <SubjectForumTopicComment> ResultInfo = new ResultInfo <SubjectForumTopicComment>() { Status = false, Description = "Failed|Login" }; SchoolStudent PageObj = new SchoolStudent(); SubjectForumTopicComment temp = new SubjectForumTopicComment(); if (CommentID != 0) { temp = PageObj.RefreshCommentByUserID(CommentID, UID); ResultInfo.Info = temp; if (ResultInfo.Info != null) { ResultInfo.Description = "Success| Get Details "; ResultInfo.Status = true; } } return(Json(ResultInfo, JsonRequestBehavior.AllowGet)); }