public string FindViewTemplate(string view, string controller)
{
foreach (var p in m_ViewPaths)
{
var resolved = Application.MapPath(p.Replace("{view}", view).Replace("{controller}", controller));
if (System.IO.File.Exists(resolved))
return resolved;
}
return null;
}