예제 #1
0
 /// <summary>
 /// Check if file exist in physical path or not, if not search in db template
 /// </summary>
 /// <param name="virtualPath"></param>
 /// <returns></returns>
 public override bool FileExists(string virtualPath)
 {
     _pageTemplateService = HostContainer.GetInstance <IPageTemplateService>();
     if (virtualPath.IsDBTemplateMaster())
     {
         return(_pageTemplateService.IsPageTemplateExisted(virtualPath));
     }
     return(base.FileExists(virtualPath));
 }