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