mardi 11 avril 2017

Switch between Invoice Orders MVC

I have an MVC view where a show Orders data with some filters.

Id like know if I can reuse the same ViewModel - Controller - class using two radio button to switch from orders and invoices.

Following MVC pattern is that a good practice ?

Or i have to rewrite another ViewModel-Controller-View for the invoces ?

Aucun commentaire:

Enregistrer un commentaire