In my page there is a Login form. It looks like <form action="" method="post">
Login: <%:Html.TextBoxFor(m=>m.Login) %><br />
Password: <%:Html.PasswordFor(m=>m.Password) %><br />
<input type=submit value="Log In" /> <%: Html.ActionLink("Forgot my password","forgot","account") %>
</form> But at the same time in this page I need to render some info from another ViewModel. Is it possible to write in action something like return View(Model1, Model2); ?And how could I get access to these ViewModels in this case?
View Complete Post