Method
Route.Delete
Delete(string, Delegate?) #
Creates a route that responds to HTTP DELETE requests.
public static Route Delete(string path, Delegate? action)Parameters #
path string
The URL path for the route.
action Delegate?
The action to be executed when the route is matched.
Returns #
A Route object configured for DELETE requests.
Delete(string, RouteAction) #
Creates a route that responds to HTTP DELETE requests.
public static Route Delete(string path, RouteAction action)Parameters #
path string
The URL path for the route.
action RouteAction
The action to be executed when the route is matched.
Returns #
A Route object configured for DELETE requests.