public IQueryable <Request> GetAll() { return(_genericRepository.AsQueryable(a => a.RequestId > 0)); }
public PartimInformation GetBySuperCode(string superCode) { return(_genericRepository.AsQueryable(p => p.SuperCode == superCode).First()); }
//public IQueryable<File> GetByOpleiding(int opleidingId) //{ // return "TODO" //} public IQueryable <File> GetAllNonEmpty() { return(_genericRepository.AsQueryable(d => d.Requests.Count > 0)); }
public bool IsBewijsFromStudent(string email) { return(_genericRepository.AsQueryable(b => b.Student.Email == email).Any()); }
public Lecturer GetByEmail(string email) { return(!EmailExists(email) ? null : _genericRepository.AsQueryable(d => d.Email == email).First()); }