action

A public method on a controller that handles requests for one route and returns a result.

In more detail

Each action handles one combination of HTTP method and route. Its parameters are filled by model binding and its return value, often an ActionResult<T>, becomes the HTTP response.

Related terms

Taught in

References