Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public IEnumerable <GroupResult> FinalRound(int drawId) { var draw = _context.Draws .Include(d => d.Groups) .ThenInclude(g => g.Summaries) .ThenInclude(s => s.Team) .Single(d => d.Id == drawId); var finalsGroups = _groupsService.ConstructFinalsGroups(draw); _context.Groups.AddRange(finalsGroups); _context.SaveChanges(); return(finalsGroups.ToList().Select(g => _competition.Compete(g))); }