public ActionResult Edit(NewsModel model, string cdts) { GetConditions(cdts); ////檢查內容無障礙是否通過 if (!AccessibilityUtil.CheckFreeGO(model.Content)) { model.ShowFreeGOMsg = true; model.FreeGOColumnName = "Content"; } else if (!AccessibilityUtil.CheckFreeGO(model.ContentENG)) { model.ShowFreeGOMsg = true; model.FreeGOColumnName = "ContentENG"; } model.Update(); if (model.ShowFreeGOMsg) { return(View("Save", model)); } return(RedirectToAction("AdminIndex", new { Page = model.Page, Cdts = cdts })); }