MVVM: Delete a CustomerViewModel, but how to get the Customer model inside it?
- by msfanboy
Hello,
I have a list of CustomerViewModels in a ComboBox. The selected CustomerViewModel I want to delete and also the Customer wrapped inside it to remove it from the repository.
But how can I access the Customer model inside the CustomerViewModel?