Esempio n. 1
0
        public AHPUser(Entrant entrantGiven, List <EducationLine> educationLinesGiven)
        {
            _entrant        = entrantGiven;
            _educationLines = educationLinesGiven;
            _settings       = new AHPUserSettings();

            CalculateAll();
        }
Esempio n. 2
0
        public AHPUser(int userID)
        {
            _entrant = context.Entrants.Find(userID);
            foreach (var edLineInDB in context.EducationLines)
            {
                _educationLines.Add(edLineInDB);
            }
            _settings = new AHPUserSettings();

            CalculateAll();
        }