public ActionResult ToggleCommentActivity(Activity activity) { activity.UserID = Session["CurrentUser"].ToString(); var data = activityManager.ToggleCommentActivity(activity); return(Json(data, JsonRequestBehavior.AllowGet)); }