I have method like
UrlHelper.Action("login", "Authentication", HttpContext.Current.Request.Url.Scheme);
I want to pass query string parameter like "referrer?" = pageName to this method. How can I do it?
Example
Url.Action("GetValues", "Home", new { Area = "Solan", id =Model.Id})
Here Area and id are the parameters passed to the GetValues method inside Home controller
UrlHelper.Action("login", "Authentication", new { referrer = "..." })codestring returnUrl = Request.QueryString["referrer"].ToString(); but it gives me null.. Any help?public ActionResult Login(string referrer)(and the parameter will be bound with the value)