What are SubmitModels and how to use them
0
It could be so easy: When passing data from the Controller to the View in MVC one can simply use
ViewBag.MyProperty = “ThisIsTheContentOfMyProperty”;
or
ViewData["MyProperty"] = MyProperty;
And in the view you can access the data with: