How do I create the correct route values for this ActionLink?

后端 未结 5 1315
一整个雨季
一整个雨季 2021-02-18 21:48

The Model of SearchResults.aspx is an instance of PersonSearch; when the request for a new page arrive (a GET request), the action method should take i

5条回答
  •  抹茶落季
    2021-02-18 22:22

    This blog post by Scott Guthrie helped me wrap my head around URL Routing: ASP.NET MVC Framework (Part 2): URL Routing

    enter image description here enter image description here

    I love that he included test cases! enter image description here

提交回复
热议问题