How can I send the user to a certain page block by passing the id in the url. For example: link , how to pass this type in ASP.NET MVC using return RedirectToAction
.
The line of my code looks like this: return RedirectToAction("Index", "Home");
,
I tried return RedirectToAction("Index", "Home",new{#type});
but it does not accept the "#".
And another question, what is the name of this resource where you pass the "#" in the page url.