There is one view and one data model. The model is filled with default values (there is no database), which are then displayed in the view. I want to change the existing model and the values of the corresponding controls in the view by clicking the buttons in the view. But with each request, a new controller instance is created and the model is filled with default values. How to save data and transfer it back to the view?
- onePossible duplicate question: Working with the ASP.NET MVC model - Igor
|