public SurveyQueuingViewModel(IDialogService dialogService, INavigationService navigationService, IApiService apiService, IQueingFirebaseService queingFirebaseService) { this.dialogService = dialogService; this.navigationService = navigationService; this.apiService = apiService; this.queingFirebase = queingFirebaseService; }
protected override void OnDisappearing() { base.OnDisappearing(); VisiblePage = false; if (BindingContext is IQueuingViewModel viewModel) { if (viewModel.Qualify == false) { IQueingFirebaseService queingFirebase = ServiceLocator.Current.GetInstance <IQueingFirebaseService>(); queingFirebase.GetOutSesionWaitingRoom(viewModel.patient.PatientServiceType, viewModel.requestMedicalService.PatientDocument); } } }