diff --git a/University/UniversityDatabaseImplement/Implements/PlanOfStudyStorage.cs b/University/UniversityDatabaseImplement/Implements/PlanOfStudyStorage.cs index 96ae87e..49a9833 100644 --- a/University/UniversityDatabaseImplement/Implements/PlanOfStudyStorage.cs +++ b/University/UniversityDatabaseImplement/Implements/PlanOfStudyStorage.cs @@ -33,6 +33,7 @@ namespace UniversityDatabaseImplement.Implements var students = context.Students .Where(s => s.PlanOfStudyId == model.Id) .Include(s => s.StudentDiscipline) + .ThenInclude(sd => sd.Discipline) .ToList(); if(students == null)