fix/endpoints #60

Merged
maxchil merged 3 commits from fix/endpoints into master 2020-10-04 13:31:03 +02:00

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);