public JsonResult EditSubForumComment(long ForumCommID, long UID) { ResultInfo <ForumDetails> ResultInfo = new ResultInfo <ForumDetails>() { Status = false, Description = "Failed|Login" }; ForumDetails temp = new ForumDetails(); SchoolStudent obj = new SchoolStudent(); try { if (ForumCommID > 0 && UID > 0) { temp.singleComment = obj.EditSubForumComment(ForumCommID, UID); ResultInfo.Info = temp; } if (ResultInfo.Info != null) { ResultInfo.Description = "Success| Get Details Of SocialStudent"; ResultInfo.Status = true; } } catch (Exception ex) { } return(Json(ResultInfo, JsonRequestBehavior.AllowGet)); }