Method Get
Get(string, RouteAction)
Creates a route that responds to HTTP GET requests.
public static Route Get(string path, RouteAction action)
Parameters
path
stringThe URL path for the route.
action
RouteActionThe action to be executed when the route is matched.