mardi 22 décembre 2015

Passing data from Controller to model in MVC 3

is there a way to pass data from controller to model?

the scenario of my project is that, it has two tables in database, and in View there are two text boxes , the data of one text box is save to one table while data of another table is save to another table , i want to show the data of both tables in another single View . for that reason i want to send both textbox values from controller to model then want to show the data from that model to the view. can someone please help how can i implement it ?

Aucun commentaire:

Enregistrer un commentaire