forked from sanchezvem/PyroFetes
17:17 09/10
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using PyroFetes.DTO.Brand.Request;
|
||||
using PyroFetes.DTO.Brand.Response;
|
||||
using API.DTO.Brand.Request;
|
||||
using API.DTO.Brand.Response;
|
||||
using FastEndpoints;
|
||||
|
||||
namespace PyroFetes.Endpoints.Brand;
|
||||
@@ -8,7 +8,7 @@ public class UpdateBrandEndpoint(PyroFetesDbContext pyrofetesdbcontext) : Endpoi
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Post("/api/brands");
|
||||
Put("/api/brands");
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user