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