/// <summary> /// Updates the database with approveal or deniel and returns to /// the pending application page. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private async void UpdateDatabaseAndExitPage() { app.applicationFinalized = 1; app.SaveApplication(); await Navigation.PopAsync(); }
/// <summary> /// Saves Registration state so it can be loaded from this state if the user naviates away from the ocme and comes /// back at a later time. /// </summary> private void SaveRegistration() { StudentApplication inProgressApplication = GetApplicationData(); inProgressApplication.Email = StudentUser.Email; inProgressApplication.SaveApplication(); }