From df11ff9005470e7758aa0e5d792e92364ffeabb3 Mon Sep 17 00:00:00 2001 From: maxchil Date: Sun, 8 Nov 2020 00:15:23 +0100 Subject: [PATCH] fix/whatervberve (#78) fix Co-authored-by: MaxchilKH --- src/InternshipSystem.Api/Controllers/InternshipController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/InternshipSystem.Api/Controllers/InternshipController.cs b/src/InternshipSystem.Api/Controllers/InternshipController.cs index 9fdfa47..fc1c017 100644 --- a/src/InternshipSystem.Api/Controllers/InternshipController.cs +++ b/src/InternshipSystem.Api/Controllers/InternshipController.cs @@ -45,6 +45,7 @@ namespace InternshipSystem.Api.Controllers .Include(i => i.InternshipRegistration.BranchAddress) .Include(i => i.InternshipRegistration.Type) .Include(i => i.InternshipRegistration.Subjects) + .ThenInclude(subject => subject.Subject) .Include(i => i.Report) .Include(i => i.Documentation) .SingleAsync(i => i.Student.Id == user.PersonNumber, cancellationToken);