Method HasPrefix
HasPrefix(string)
Specifies a prefix for all routes defined by this module.
protected void HasPrefix(string prefix)
Parameters
prefix
stringThe prefix to be applied to all registered routes of this class.
Remarks
This method allows for the specification of a common prefix for all routes defined by this module, which can be useful for organizing and structuring routes in a large application.