Exemple #1
0
        public AhpEducationLine(EducationLine educationLineGiven, List <Entrant> entrantsGiven)
        {
            _educationLine = educationLineGiven;
            _entrants      = entrantsGiven;
            _settings      = new AhpEdLineSettings();

            CalculateAll();
        }
Exemple #2
0
        public AhpEducationLine(int edLineId)
        {
            _educationLine = _context.EducationLines.Find(edLineId);
            foreach (var entrInDb in _context.Entrants)
            {
                _entrants.Add(entrInDb);
            }
            _settings = new AhpEdLineSettings();

            CalculateAll();
        }