public ActionResult Delete(Guid id) { ErrorReportingModel model = new ErrorReportingModel(); var info = service.GetById(id); if (info != null) { info.IsDelete = true; service.UpdateGoogleProductRecord(info); return(Json(new AjaxResult() { Result = Result.Success, Message = "²Ù×÷³É¹¦" })); } return(View(PluginHelper.GetViewPath(this.GetType(), "Delete"), model)); }