/// <summary> /// Navigates to default command. /// </summary> /// <param name="parameters">The parameters.</param> protected override void NavigateToDefaultCommand( KeyValuePair<string, string>[] parameters ) { _billingOfficeKey = parameters.GetValue<long> ( "BillingOfficeKey" ); var shouldReload = true; if ( parameters.HasKey ( "ShouldReload" ) ) { shouldReload = parameters.GetValue<bool> ( "ShouldReload" ); } if ( shouldReload ) { _navigationService.Navigate ( RegionManager, "PayorTilesRegion", "PayorTypeListView", null, new[] { new KeyValuePair<string, string> ( "BillingOfficeKey", _billingOfficeKey.ToString () ) } ); _navigationService.Navigate ( RegionManager, "PayorTilesRegion", "PayorListView", null, new[] { new KeyValuePair<string, string> ( "BillingOfficeKey", _billingOfficeKey.ToString () ) } ); } }
/// <summary> /// Navigates to default command. /// </summary> /// <param name="parameters">The parameters.</param> protected override void NavigateToDefaultCommand( KeyValuePair<string, string>[] parameters ) { _billingOfficeKey = parameters.GetValue<long> ( "BillingOfficeKey" ); var shouldReload = true; if ( parameters.HasKey ( "ShouldReload" ) ) { shouldReload = parameters.GetValue<bool> ( "ShouldReload" ); } if ( shouldReload ) { _navigationService.Navigate ( RegionManager, "ClaimsTilesRegion", "ClaimErrorsListView", null, new[] { new KeyValuePair<string, string> ( "BillingOfficeKey", _billingOfficeKey.ToString () ) } ); _navigationService.Navigate ( RegionManager, "ClaimsTilesRegion", "ClaimBatchDashboardListView", null, new[] { new KeyValuePair<string, string> ( "BillingOfficeKey", _billingOfficeKey.ToString () ) } ); _navigationService.Navigate ( RegionManager, "ClaimsTilesRegion", "ClaimOnHoldListView", null, new[] { new KeyValuePair<string, string> ( "BillingOfficeKey", _billingOfficeKey.ToString () ) } ); } var requestDispatcher = _asyncRequestDispatcherFactory.CreateAsyncRequestDispatcher (); requestDispatcher.Add ( new GetClaimBatchListSummaryRequest { BillingOfficeKey = _billingOfficeKey } ); requestDispatcher.ProcessRequests ( HandleGetClaimBatchListSummaryRequestCompleted, HandleError ); }