//反馈页面 public ActionResult Feedback(Guid id) { var info = service.GetById(id); var model = new MessageOpenApplicationModel().ToModel(info); return(View(PluginHelper.GetViewPath(this.GetType(), "Feedback"), model)); }
public ActionResult Feedback() { Guid Id = Guid.Parse(Request.Form["Id"]); string Feedback = Request.Form["Feedback"]; var info = service.GetById(Id); MessageOpenApplicationModel Model = new MessageOpenApplicationModel(); if (info != null) { Model.Feedback = Feedback; info = Model.FormData(info); service.Update(info); return(Json(new AjaxResult() { Result = Result.Success, Message = "操作成功" })); } return(View(PluginHelper.GetViewPath(this.GetType(), "Feedback"), Model)); }