routes updated
This commit is contained in:
@@ -9,7 +9,7 @@ public class CreateExperienceLevelEndpoint(PyroFetesDbContext pyroFetesDbContext
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Post("/api/experiencelevels");
|
||||
Post("/experiencelevels");
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ public class DeleteExerienceLevelEndpoint(PyroFetesDbContext pyroFetesDbContext)
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Delete ("/api/experiencelevels/{@Id}", x => new { x.Id });
|
||||
Delete ("/experiencelevels/{@Id}", x => new { x.Id });
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ public class GetAllExperienceLevelsEndpoint(PyroFetesDbContext pyroFetesDbContex
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Get ("/api/experiencelevels");
|
||||
Get ("/experiencelevels");
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ public class GetExperienceLevelEndpoint(PyroFetesDbContext pyroFetesDbContext) :
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Get ("/api/experiencelevels/{@Id}", x => new { x.Id });
|
||||
Get ("/experiencelevels/{@Id}", x => new { x.Id });
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ public class UpdateExperienceLevelEndpoint(PyroFetesDbContext pyroFetesDbContext
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Put ("/api/experiencelevels/{@Id}", x => new { x.Id });
|
||||
Put ("/experiencelevels/{@Id}", x => new { x.Id });
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user