action: public ActionResult DeleteByID(int id) { this.MessageService.DeleteMailTemplate(id); var from = Request["from...
action:
public ActionResult DeleteByID(int id) { this.MessageService.DeleteMailTemplate(id); var from = Request["from"]; return RedirectToAction("TemplateIndex", new { from = from }); } public ActionResult DeleteByID(List<int> ids) { return this.Stop("判斷情況是否一致", Request.UrlReferrer.AbsolutePath, true); }
這兩個響應會產生報錯,