public KlasseViewModel()
 {
     KListe          = new Model.KlasseListe();
     AddElevCommand  = new AddElevCommand(AddNewElev);
     NewElev         = new Model.KlasseInfo();
     SletElevCommand = new SletElevCommand(SletElev);
     localfolder     = ApplicationData.Current.LocalFolder;
     SaveCommand     = new RelayCommand(GemDataTilDiskenAsync);
     HentDataCommand = new RelayCommand(HentDataFraDiskenAsync);
     SletAlleCommand = new RelayCommand(SletAlle);
 }
/// <summary>
/// ctor laver alle nye instancer. så de kan bruges i vores viewmodel
/// MERE info
/// </summary>
        public KlasseViewmodel()
        {
            PListe            = new Model.KlasseListe();
            AddKlasseCommand  = new AddElevCommand(AddNewElev);
            NewElev           = new Model.klasseinfo();
            SletKlasseCommand = new SletElevCommand(SletElev);
            localfolder       = ApplicationData.Current.LocalFolder;
            SaveCommand       = new RelayCommand(GemDataTilDiskAsync);
            HentDataCommand   = new RelayCommand(HentDataFraDisk);
            ClearAllCommand   = new RelayCommand(ClearAll);
        }