forked from sanchezvem/PyroFetes
commentaire endpoint
This commit is contained in:
@@ -11,8 +11,8 @@ public class GetAllSuppliersEndpoint(PyroFetesDbContext pyrofetesdbcontext)
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Get("/api/suppliers");
|
||||
AllowAnonymous();
|
||||
Get("/api/suppliers"); //endpoint qui affiche le fournisseur en fonction de l'id
|
||||
AllowAnonymous(); //Autorise l'accès sans authentification
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(CancellationToken ct)
|
||||
|
||||
Reference in New Issue
Block a user