/// <summary> /// Handles execution of "GoToPlacesPageCommand". /// </summary> private async void ExecuteGoToPlacesPageAsync() { var isConsent = _findPlaceService.GetUserConsentAsync(); if (await isConsent) { _pageNavigation.NavigateToPlacesPage(new PlacesViewModel()); } else { _pageNavigation.Close(); } }
/// <summary> /// Handles execution of "CloseApplicationCommand". /// </summary> private void ExecuteCloseApplication() { _navigation.Close(); }