Method
Router.MapGet
MapGet(string, Delegate) #
Maps an GET route using the specified path and action function.
public void MapGet(string path, Delegate action)Parameters #
path string
The route path.
action Delegate
The route function to be called after matched.
MapGet(string, RouteAction) #
Maps an GET route using the specified path and action function.
public void MapGet(string path, RouteAction action)Parameters #
path string
The route path.
action RouteAction
The route function to be called after matched.