Right now I have a method that works, it works when I click on the link here the code in Razor:
@Html.ActionLink("New User ,Register", "Register", new { OpenID = Model.OpenID })
I would like to have the same effect, but return View from Controller, at the moment I am using this code without success
return View("Register", lm);
I'm new to MVC, so I'm a bit confused. The view returned with my last omission of smt code, and I keep in touch with the new { OpenID = Model.OpenID }
Could you point me in the right direction?
This is my controller method:
public ActionResult Register(string OpenID)
source share