public ActionResult RegSettingsXml(OrgSearchModel m) { Response.ContentType = "text/xml"; m.RegSettingsXml(Response.OutputStream); return(new EmptyResult()); }