Exemplo n.º 1
0
 public LoginViewModel()
 {
     _validationLogin  = new ValidationLogin();
     _authenticationDB = new UserOAuthenticationDB();
     _studentDB        = new StudentDB();
     //SaveUserData();
     //StudentDummyData();
 }
Exemplo n.º 2
0
 public StudentDetailsViewModel()
 {
     _validationStudentDetails = new ValidationStudentDetails();
     _validationStudentDetails.validationEvent += ValidationStudentDetails_validationEvent;
     _studentDB        = new StudentDB();
     _authenticationDB = new UserOAuthenticationDB();
     AllStudentList    = _studentDB.AllStudentData;
     UserList          = _authenticationDB.AllUserData;
 }