I want to accept my querystring value in MVC Controller.I tried to take it as a parameter also but it also not accept.Because i wanted to confirm this login request comes from inbox.
http://localhost:58692/Account/Login?returnFrom=#inbox
My MVC controller
[HttpPost]
[AllowAnonymous]
public ActionResult Login(User user, string returnUrl)
{
if (Request.QueryString["returnFrom"] != null) // this comes as a null
{
}
}