routes updated

This commit is contained in:
2025-12-04 16:53:00 +01:00
parent 0cc0eeb439
commit 2b4b2b50df
51 changed files with 51 additions and 51 deletions

View File

@@ -8,7 +8,7 @@ public class CreateProviderEndpoint(PyroFetesDbContext pyroFetesDbContext) : End
{
public override void Configure()
{
Post("/api/providers");
Post("/providers");
AllowAnonymous();
}

View File

@@ -9,7 +9,7 @@ public class DeleteProviderEndpoint(PyroFetesDbContext pyroFetesDbContext) : End
{
public override void Configure()
{
Delete ("/api/providers/{@Id}", x => new { x.Id });
Delete ("/providers/{@Id}", x => new { x.Id });
AllowAnonymous();
}

View File

@@ -8,7 +8,7 @@ public class GetAllProvidersEndpoint(PyroFetesDbContext pyroFetesDbContext) : En
{
public override void Configure()
{
Get ("/api/providers");
Get ("/providers");
AllowAnonymous();
}

View File

@@ -9,7 +9,7 @@ public class GetProviderEndpoint(PyroFetesDbContext pyroFetesDbContext) : Endpoi
{
public override void Configure()
{
Get ("/api/providers/{@Id}", x => new { x.Id });
Get ("/providers/{@Id}", x => new { x.Id });
AllowAnonymous();
}

View File

@@ -9,7 +9,7 @@ public class UpdateProviderEndpoint(PyroFetesDbContext pyroFetesDbContext) : End
{
public override void Configure()
{
Put ("/api/providers/{@Id}", x => new { x.Id });
Put ("/providers/{@Id}", x => new { x.Id });
AllowAnonymous();
}