Beispiel #1
0
        public ActionResult Test(string script, Dictionary <string, string> args)
        {
            if (args == null)
            {
                args = new Dictionary <string, string>();
            }
            args.Add("uname", (string)Session["APIuname"]);
            args.Add("pword", (string)Session["APIpword"]);
            var init = (string)Session["APIinit"];

            return(Content(APIFunctions.TestAPI(init, script, args)));
        }