Expose Endpoint
- ACS Acc
- Jul 27, 2022
- 1 min read
After creating the Controller, expose the endpoint.
Exposing the endpoint in the Controller
- [HttpGet] <- Attribute - Adding this attribute to the constructor add add parameters.
Also add attributes
[Authorize]
[ApiController]
[Route("[controller]")]
Commentaires