예제 #1
0
        public List <ReportTemplate> GetTemplates(Guid userId)
        {
            if (ProjectSecurity.IsVisitor(SecurityContext.CurrentAccount.ID))
            {
                throw new SecurityException("Access denied.");
            }

            return(reportDao.GetTemplates(userId));
        }
예제 #2
0
 public List <ReportTemplate> GetTemplates(Guid userId)
 {
     return(reportDao.GetTemplates(userId));
 }