Example #1
0
        public ReportTemplate GetTemplate(int id)
        {
            if (ProjectSecurity.IsVisitor(SecurityContext.CurrentAccount.ID))
            {
                throw new SecurityException("Access denied.");
            }

            return(reportDao.GetTemplate(id));
        }
Example #2
0
 public ReportTemplate GetTemplate(int id)
 {
     return(reportDao.GetTemplate(id));
 }