public MainViewModel() { Persons = new ObservableCollection <Person>(DataBaseHandler.GetPersons()); this.DeleteCommand = new DeleteCommand(); this.AddCommand = new AddCommand(); Person = new Person(); }