Exemplo n.º 1
0
        public AHPEducationLine(EducationLine educationLineGiven, List <Entrant> entrantsGiven)
        {
            _educationLine = educationLineGiven;
            _entrants      = entrantsGiven;
            _settings      = new AHPEdLineSettings();

            CalculateAll();
        }
Exemplo n.º 2
0
        public AHPEducationLine(int edLineID)
        {
            _educationLine = context.EducationLines.Find(edLineID);
            foreach (var entrInDB in context.Entrants)
            {
                _entrants.Add(entrInDB);
            }
            _settings = new AHPEdLineSettings();

            CalculateAll();
        }