public JsonResult InsertQuestionnaire(Questionnaire questionnaire) { JsonResult result = new JsonResult(); try { bool isSuccess = questionnaireService.InsertQuestionnaire(questionnaire); log.Info("添加成功"); } catch (Exception e) { log.Error(e.Message); } finally { result = Json(new { msg = "添加成功" }, JsonRequestBehavior.AllowGet); } return(result); }