Method Get
Get(string, Delegate?)
Creates a route that responds to HTTP GET requests.
public static Route Get(string path, Delegate? action)
Parameters
pathstringThe URL path for the route.
actionDelegateThe action to be executed when the route is matched.
Returns
Get(string, RouteAction)
Creates a route that responds to HTTP GET requests.
public static Route Get(string path, RouteAction action)
Parameters
pathstringThe URL path for the route.
actionRouteActionThe action to be executed when the route is matched.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語