예제 #1
0
 //[SecuredOperation("Student.List")]
 //[LogAspect(typeof(FileLogger))]
 //[LogAspect(typeof(DatabaseLogger))]
 //[CacheAspect(10)]
 public IDataResult <List <Exam> > GetList()
 {
     return(new SuccessDataResult <List <Exam> >(_examDal.GetList().ToList()));
 }
예제 #2
0
 public List <Exam> GetList()
 {
     return(new List <Exam>(_examDal.GetList().ToList()));
 }