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