I need to use single view
multiple time with different methods
as well controllers
all methods
are sending different data and on submit it effect to different table
of database
.
suppose i have two methods
, method1
and method2
method1
has data like {123,456,789}
and go to view with this data and on submit, need to make changes in table1
of my database.
method2
has data like{321,654,987}
and go to view with this data and on submit, need to make changes in table2
of my database.
i don't have any idea about to reuse the view
with different data
, if it is possible then please help me.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire