public ActionResult GetForm(string primaryKey) { SysItem entity = itemLogic.Get(primaryKey); entity.IsEnabled = entity.IsEnabled == "1" ? "true" : "false"; return(Content(entity.ToJson())); }