public AHPUser(Entrant entrantGiven, List <EducationLine> educationLinesGiven) { _entrant = entrantGiven; _educationLines = educationLinesGiven; _settings = new AHPUserSettings(); CalculateAll(); }
public AHPUser(int userID) { _entrant = context.Entrants.Find(userID); foreach (var edLineInDB in context.EducationLines) { _educationLines.Add(edLineInDB); } _settings = new AHPUserSettings(); CalculateAll(); }