/// <summary> /// Show the result's details page /// </summary> private void ShowDetails() { var selectedItem = ListViewModel.SelectedItem(); if (selectedItem == null) { return; } var viewmodel = new TestResultsDetailsViewModel(selectedItem); DI.Application.GoToPage(ApplicationPage.TestResultsDetails, viewmodel); }
/// <summary> /// Return to the previous page /// </summary> private void Return() { var viewmodel = new TestResultsDetailsViewModel(Results); DI.Application.GoToPage(ApplicationPage.TestResultsDetails, viewmodel); }