Hi folks,
I was wondering whether there is an easy way to validate a ViewModel. I really like the concept of validating a Model, but since there is no way to define fields and rules for ViewModels, obviously there is no way to validate the data in it.
Is there a workaround or an optimal solution for this? Or did I miss something obvious?
Thanks,
Zoltan
Aucun commentaire:
Enregistrer un commentaire