Exemple #1
0
        public string RunScriptPost(string param, FormDataCollection formData)
        {
            IEnumerator <KeyValuePair <string, string> > valueMap = WebAPIUtils.Convert(formData);
            var ps = new PscriptsProvider();

            return(ps.RunScript(param, valueMap));
        }
Exemple #2
0
        public string RunScript(string param)
        {
            var ps = new PscriptsProvider();

            return(ps.RunScript(param, this.Request.GetQueryNameValuePairs().GetEnumerator()));
        }