System.Web.Mvc.ActionResult SendMsg(Exception ex, string strBackUrl) { if (opeCur.Request.Headers.AllKeys.Contains("X-Requested-With")) { return(opeCur.AjaxMsgError(ex, strBackUrl)); } else { return(opeCur.JsMsg(ex.Message, strBackUrl)); } }
System.Web.Mvc.ActionResult SendMsg(Exception ex, string strBackUrl) { if (opeCur.Request.Headers.AllKeys.Contains("X-Requested-With")) { return(opeCur.AjaxMsgError(ex, strBackUrl)); } else { return(opeCur.JsMsg(ex.Message, strBackUrl)); } }