public string RunScriptPost(string param, FormDataCollection formData) { IEnumerator <KeyValuePair <string, string> > valueMap = WebAPIUtils.Convert(formData); var ps = new PscriptsProvider(); return(ps.RunScript(param, valueMap)); }
public string RunScript(string param) { var ps = new PscriptsProvider(); return(ps.RunScript(param, this.Request.GetQueryNameValuePairs().GetEnumerator())); }