feat: update ProductController route and enhance authentication configuration
This commit is contained in:
@@ -19,6 +19,7 @@ namespace Api.Controllers
|
||||
|
||||
// GET: api/Product
|
||||
[HttpGet]
|
||||
[Route("api/product")]
|
||||
public async Task<ActionResult<IEnumerable<Product>>> GetProducts([FromQuery] int? id = null)
|
||||
{
|
||||
if (id.HasValue)
|
||||
|
||||
Reference in New Issue
Block a user