コード例 #1
0
        public ActionResult ToggleCommentActivity(Activity activity)
        {
            activity.UserID = Session["CurrentUser"].ToString();
            var data = activityManager.ToggleCommentActivity(activity);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }