public void EditExecute(object param)
        {
            var v  = new BearbeiteStandortCTL();
            var vm = new BearbeiteAddVMODELStandort();

            vm.St           = SelectedStandort;
            vm.IsInEditMode = true;
            v.DataContext   = vm;
            v.ShowDialog();
            if (v.DialogResult == true)
            {
                using (SnackEmDBEntities db = new SnackEmDBEntities())
                {
                    db.Entry(vm.St).State = EntityState.Modified;
                    db.SaveChanges();
                    PropertyChanged(this, new PropertyChangedEventArgs("AlleStandorts"));
                }
            }
        }
        public void NewExecute(object param)
        {
            var v  = new BearbeiteStandortCTL();
            var vm = new BearbeiteAddVMODELStandort();

            vm.St           = new STANDORT();
            vm.IsInEditMode = false;
            v.DataContext   = vm;
            v.ShowDialog();
            if (v.DialogResult == true)
            {
                using (SnackEmDBEntities db = new SnackEmDBEntities())
                {
                    db.STANDORTs.Add(vm.St);
                    db.SaveChanges();
                    PropertyChanged(this, new PropertyChangedEventArgs("AlleStandorts"));
                }
            }
        }