public Pupil[] GetPupilsByRegistrationTypeWithSchool(Registrationtype registrationtype) => _dbContext.Pupils .Include(p => p.School) .ThenInclude(s => s.City) .Where(p => p.Registrationtype == registrationtype) .ToArray();
public Pupil[] GetPupilsByRegistrationTypeWithSchool(Registrationtype registrationtype) => GetAll() .Where(p => p.Registrationtype == registrationtype) .ToArray();
public Pupil[] GetPupilsByRegistrationTypeWithSchool(Registrationtype registrationtype) { throw new NotImplementedException(); }