Exemple #1
0
 public AhpUser(int userId)
 {
     _entrant = _context.Entrants.Find(userId);
     foreach (var edLineInDb in _context.EducationLines)
     {
         _educationLines.Add(edLineInDb);
     }
     _settings = new AhpUserSettings();
 }
Exemple #2
0
 public AhpUser(Entrant entrantGiven, List <EducationLine> educationLinesGiven)
 {
     _entrant        = entrantGiven;
     _educationLines = educationLinesGiven;
     _settings       = new AhpUserSettings();
 }
Exemple #3
0
 public AhpUser(Entrant entrantGiven, List <EducationLine> educationLinesGiven, AhpUserSettings settings)
 {
     _entrant        = entrantGiven;
     _educationLines = educationLinesGiven;
     _settings       = settings;
 }