vb.net - Generate URL inside a Controller in ASP.NET MVC -
Is there a way to generate URLs inside a controller? I want to do the following in a controller instead of a scene.
& lt;% = Url.Action ("Validate", "Home", New with {ValidID = ID})% & Gt;
Just remove "b-sting".
Something like this:
url = Url.Action ("Validate", "Home", {.ValidID = ID} with New}
< / Pre>
Comments
Post a Comment