public JsonResult SavePushMsg(U_PushMsg pushMsgModel, string txtMessage, string isEdit, string history, string saveType) { var model = new ActionResultModel <string>(); model.isSuccess = false; pushMsgModel.Message = txtMessage; bool edit = bool.Parse(isEdit); bool isHistory = bool.Parse(history); pushMsgModel.History = isHistory ? "1" : "0"; model.isSuccess = _dl.SavePushMsg(pushMsgModel, edit, saveType); model.respnseInfo = model.isSuccess ? "1" : "0"; return(Json(model, JsonRequestBehavior.AllowGet)); }