fix/endpoints (#60)
add Merge branch 'master' of http://git.kadet.net/system-praktyk/system-praktyk-api into fix/endpoints fix Co-authored-by: MaxchilKH <m.w.bohdanowicz@gmail.com>
This commit is contained in:
parent
28859a601c
commit
b98ab42c4d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user