public virtual ActionResult SetOnHold(int id, bool onHold) { LogI("SetOnHold, id=" + id + ", onHold=" + onHold); var when = Time.GetAppNowTime(); StyleViewModel.SetOnHold(Db, StyleHistoryService, ActionService, id, onHold, when, AccessManager.UserId); return(new JsonResult { Data = new { OnHold = onHold, OnHoldUpdateDate = when }, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }