Merge branch 'main' of https://git.is.ulstu.ru/StroevVladimir/CourseWork
This commit is contained in:
commit
1295f4c633
@ -33,6 +33,7 @@ namespace UniversityDatabaseImplement.Implements
|
|||||||
var students = context.Students
|
var students = context.Students
|
||||||
.Where(s => s.PlanOfStudyId == model.Id)
|
.Where(s => s.PlanOfStudyId == model.Id)
|
||||||
.Include(s => s.StudentDiscipline)
|
.Include(s => s.StudentDiscipline)
|
||||||
|
.ThenInclude(sd => sd.Discipline)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
if(students == null)
|
if(students == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user