/// <summary> /// Handles execution of "GoToLaunchCountCommand". /// </summary> /// <param name="option">Specifies which range should be displayed.</param> private void ExecuteGoToLaunchCount(Range option) { StatisticsViewModel launchCountViewModel = new StatisticsViewModel(option); _navigation.CreateLaunchCountPage(launchCountViewModel); }
/// <summary> /// Handles execution of "GoToBatteryCommand". /// </summary> private void ExecuteGoToBattery() { StatisticsViewModel batteryViewModel = new StatisticsViewModel(Range.Battery); _navigation.CreateBatteryPage(batteryViewModel); }