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