feat: update ProductController route and enhance authentication configuration

This commit is contained in:
Marek Lesko
2025-07-29 16:23:12 +00:00
parent 9217e805e9
commit 329fb94a3a
4 changed files with 26 additions and 24 deletions

View File

@@ -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)