I have a mvc project about e commerce. Now I am using a filter for order to product on razor page. For example when page is first load I want to create my action link first querystrings. Then click link change new values.
for example first load my links,
<a href="~/CategoryName?newproduct=610">New Products</a>
<a href="~/CategoryName?sex=610">Women</a>
<a href="~/CategoryName?sex=611">Men</a>
<a href="~/CategoryName?sex=612">Unisex</a>
..........
Other links must be change then I clicked a link for example click to New Products,
<a href="~/CategoryName?newproduct=610">New Products</a>
<a href="~/CategoryName?newproduct=610&sex=610">Women</a>
<a href="~/CategoryName?newproduct=610&sex=611">Men</a>
<a href="~/CategoryName?newproduct=610&sex=612">Unisex</a>
...................
I am sending a model on razor page. Now How can create a model and controller for querystring array? And What should I use jquery or......? I cant find a sample about this problem. Thanks for replies.