public IQueryable <Request> GetAll()
 {
     return(_genericRepository.AsQueryable(a => a.RequestId > 0));
 }
 public PartimInformation GetBySuperCode(string superCode)
 {
     return(_genericRepository.AsQueryable(p => p.SuperCode == superCode).First());
 }
示例#3
0
        //public IQueryable<File> GetByOpleiding(int opleidingId)
        //{
        //    return "TODO"
        //}

        public IQueryable <File> GetAllNonEmpty()
        {
            return(_genericRepository.AsQueryable(d => d.Requests.Count > 0));
        }
示例#4
0
 public bool IsBewijsFromStudent(string email)
 {
     return(_genericRepository.AsQueryable(b => b.Student.Email == email).Any());
 }
示例#5
0
 public Lecturer GetByEmail(string email)
 {
     return(!EmailExists(email) ? null : _genericRepository.AsQueryable(d => d.Email == email).First());
 }