public AHPEducationLine(EducationLine educationLineGiven, List <Entrant> entrantsGiven) { _educationLine = educationLineGiven; _entrants = entrantsGiven; _settings = new AHPEdLineSettings(); CalculateAll(); }
public AHPEducationLine(int edLineID) { _educationLine = context.EducationLines.Find(edLineID); foreach (var entrInDB in context.Entrants) { _entrants.Add(entrInDB); } _settings = new AHPEdLineSettings(); CalculateAll(); }