public void SaveVolumeSettingTest()
        {
            var playControlViewModel = new PlayControlViewModel();
            var appConfig            = new AppConfiguration();

            playControlViewModel.SaveVolumeSetting(60);
            Assert.AreEqual(60, appConfig.ReadSetting("Volume"));
        }
 private void Slider_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
 {
     playControlViewModel.SetMediaPlayerVolume(e.NewValue);
     playControlViewModel.SaveVolumeSetting(e.NewValue);
 }