This commit is contained in:
MaxchilKH 2020-10-04 13:30:12 +02:00
parent 16edab7342
commit 47dfde30e9

View File

@ -38,6 +38,7 @@ namespace InternshipSystem.Api.Controllers
var edition =
await Context.Editions
.Include(e => e.AvailableInternshipTypes)
.ThenInclude(e => e.InternshipType)
.Where(e => e.Id.Equals(user.EditionId))
.FirstOrDefaultAsync(cancellationToken: cancellationToken);