Created
February 27, 2016 18:34
-
-
Save kdhollow/9ff83e5d3f145aa699b3 to your computer and use it in GitHub Desktop.
MapRoute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
routes.MapRoute( | |
name: "Default", | |
url: "{controller}/{action}/{id}", | |
defaults: new { controller = "Airport", action = "Search", id = UrlParameter.Optional } | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment