/// <summary> /// 是否跳转弹出提示 ClassCode.AlertMsg /// </summary> /// <param name="_Controller"></param> /// <param name="msg"></param> /// <param name="IsRedirect"></param> /// <param name="RedirectUrl"></param> /// <returns></returns> public ActionResult ViewAlert(Controller _Controller, string msg, bool IsRedirect, string RedirectUrl) { MsgClass.AlertMsg(this, msg, IsRedirect); if (IsRedirect) { return(Redirect(RedirectUrl)); } else { return(View()); } }
public ActionResult ViewAlert(Controller _Controller, string msg, string ViewName) { MsgClass.AlertMsg(this, msg); return(View(ViewName)); }
/// <summary> /// ClassCode.AlertMsg(this, msg); /// return View(model); /// </summary> /// <param name="_Controller"></param> /// <param name="msg"></param> /// <param name="model"></param> /// <returns></returns> public ActionResult ViewAlert(Controller _Controller, string msg, object model) { MsgClass.AlertMsg(this, msg); return(View(model)); }