intégration de la base de donnée commune
This commit is contained in:
19
PF3/Endpoint/Show/CreateShowEndpoint.cs
Normal file
19
PF3/Endpoint/Show/CreateShowEndpoint.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using FastEndpoints;
|
||||
using PF3.DTO.Show.Response;
|
||||
using PyroFetes;
|
||||
|
||||
namespace PF3.Endpoint.Show;
|
||||
|
||||
public class CreateShowEndpoint(PyroFetesDbContext pyroFetesDbContext):Endpoint<CreateShowEndpoint, ReadShowDto>
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Post("/api/show");
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
public override Task HandleAsync(CreateShowEndpoint req, CancellationToken ct)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user