public override void OnPause() { if (Profile != null) { profileSettingService.SaveProfileInLocalStorage(Profile); } base.OnPause(); }
private void SaveDataBeforeYouLive() { Profile.DriverLicense = DriverLicense; profileSettingService.SaveProfileInLocalStorage(Profile); }