public ActionResult RenameInstances(string name, string[] urls, string from, string to) { ControllerInfo cInfo = SiteStructure.Current.Controllers.FirstOrDefault(ci => ci.Name == name); cInfo.RenameInstances(urls, from, to); return(Content("OK")); }