Controller Auditing
Controller Attributes
All controllers must include the [ApiController] attribute, defined by AspNetCoreMvc.
All controllers must also implement the [Route(...)] attribute. The convention used by FEDS, for API routing, is [controller]/[action].
Example
[ApiController]
[Route("[controller]/[action]")]
public sealed class MyController : ControllerBase
{
// Actions here
}Last updated
Was this helpful?