Hi, I have a scenario in Asp.Net MVC where I want to pass a county name and state name in the URL and the Controller should be able to load the view accordingly but I dont want to make multiple controllers for each Country. Is it possible in MVC.
Thanks in advance.

Jenith ThakkarRank #789 · 2.9K reputationPosted Aug 10, 2018, 12:07 AM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Aug 9, 2018, 10:54 PM EDT
Let Me Explain Suppose your Method Name is CountrySelection in CountryController then
//Here CountryName and StateName is Parameter which you have to pass in Url
harshit verma33 reputationPosted Aug 9, 2018, 11:52 PM EDT