BaseController.mapAction

Maps an action to a http method by a name.

  1. void mapAction(HttpMethod method, string action, Action fun)
  2. void mapAction(HttpMethod method, string action, Status delegate() d)
    class BaseController
    protected final
    void
    mapAction
    (
    HttpMethod method
    ,
    string action
    ,
    Status delegate
    ()
    d
    )
  3. void mapAction(HttpMethod method, string action, Status function() f)

Parameters

method HttpMethod

The http method.

action string

The action name.

d Status delegate
()

The controller action associated with the mapping.

Meta