This is a basic MVVM question.
Lets say that i have a student editor window which allows the user to set the student's payment method (cash or cheque). For flexibility, the possible payment methods must be retrieved from the server and the list varies on the student's age which can also be changed.
The questions are:
where should the possible payments methods be stored? Model or view model?
if model, when the user changes the age who should download the new list of payment methods?
what should the model contain and do in MVVM?
Well, in my opinion the model should contain the list of payment methods, while the VM should contain a list to bind to the view. Example, what I would do is to have a
List<PaymentOptions>
on the model and aBindingList<PaymentOptions>
orObservableCollection<PaymentOptions>
for the VM.