exclure les décultes après alors inclusion

var test = await context.Tests
    .Where(t => t.SchoolyearId == schoolyearId)
    .IncludeMany(t => t.TestType,
       x => x.Subject,
       x => x.Schoolclass
    )
    .AsNoTracking()
    .ToListAsync();
Hafiz Usama