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 CreateProviderTypeEndpoint(PyroFetesDbContext pyroFetesDbContext) :
{
public override void Configure()
{
Post("/api/providertypes");
Post("/providertypes");
AllowAnonymous();
}

View File

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

View File

@@ -8,7 +8,7 @@ public class GetAllProviderTypesEndpoint(PyroFetesDbContext pyroFetesDbContext)
{
public override void Configure()
{
Get ("/api/providertype");
Get ("/providertype");
AllowAnonymous();
}

View File

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

View File

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