19 lines
421 B
C#
19 lines
421 B
C#
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)
|
|
{
|
|
|
|
}
|
|
} |