コード例 #1
0
        public JsonResult SendEvent(string eventName, object eventData)
        {
            DialogEventContainer evtContainer = new DialogEventContainer
            {
                EventName = eventName,
                EventData = eventData
            };

            return(Json(evtContainer, JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
        protected ActionResult BIARedirect(string url)
        {
            DialogEventContainer evtContainer = new DialogEventContainer
            {
                EventName = "BIA.Net.Dialog.Redirect",
                EventData = url
            };

            return(Json(evtContainer, JsonRequestBehavior.AllowGet));
        }