Produkte & Kategorien API
This commit is contained in:
@@ -24,7 +24,7 @@ namespace ShopAPI.Controllers
|
|||||||
var products = await _productService.GetALLAsync();
|
var products = await _productService.GetALLAsync();
|
||||||
return Ok(products);
|
return Ok(products);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get api/product/{id}
|
// Get api/product/{id}
|
||||||
[HttpGet("{id}")]
|
[HttpGet("{id}")]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
|
|||||||
Reference in New Issue
Block a user