private bool PathExists(string path)
{
if (path.Contains("__ZEPHYR_VIEW") && !path.Contains(".."))
{
string resourceFileName = Path.GetFileName(path);
Assembly assembly = typeof(ZephyrViewEngine).Assembly;
return assembly.GetManifestResourceStream("Zephyr.Web.Mvc.Html.DisplayTemplates." + resourceFileName) != null;
}
return false;
}