public ActionResult GetAll(ServiceProxyGenerationModel model) { model.Normalize(); var script = _proxyScriptManager.GetScript(model.CreateOptions()); return(Content( _options.MinifyGeneratedScript == true ? _javascriptMinifier.Minify(script) : script, MimeTypes.Application.Javascript )); }
public string GetAll(ServiceProxyGenerationModel model) { model.Normalize(); return(_proxyScriptManager.GetScript(model.CreateOptions())); }
public ActionResult GetAll(ServiceProxyGenerationModel model) { model.Normalize(); return(Content(_proxyScriptManager.GetScript(model.CreateOptions()), MimeTypes.Application.Javascript)); }