public ActionResult leavingmsg(int id) { var detail = _leavingMsgService.Detail(id); if (detail == null) { Response.Redirect("/error/error", true); } return(View(detail)); }
public void Detail() { service.Detail(1); }