Example #1
0
        public List <ReportTemplate> GetAutoTemplates()
        {
            if (ProjectSecurity.IsVisitor(SecurityContext.CurrentAccount.ID))
            {
                throw new SecurityException("Access denied.");
            }

            return(reportDao.GetAutoTemplates());
        }
Example #2
0
 public List <ReportTemplate> GetAutoTemplates()
 {
     return(reportDao.GetAutoTemplates());
 }