Exemplo n.º 1
0
 public List <Profile> GetProfilesByMissingItems()
 {
     return(_profileDataAccess.GetAllProfiles()
            .Where(p => (p.BirthCertificate == null ||
                         p.GraduationCertificate == null || p.IdCard == null ||
                         p.MilitaryCertificate == null || p.Passport == null) && p.Employee.Status == Status.Active)
            .ToList());
 }