Files
kjh2064 3f293d8aa8
deploy / deploy (push) Successful in 1m52s
deploy / notify (push) Successful in 1s
V13-FE-006: consolidate approved UI and contract hardening
2026-08-13 02:41:00 +09:00

16 lines
451 B
C#

using FastEndpoints;
namespace Modules.ERP.Items.Search;
public sealed class Endpoint(SearchItemsHandler handler) : Endpoint<SearchItemsRequest, SearchItemsResponse>
{
public override void Configure()
{
Get("/api/erp/items");
Permissions("erp.item.read");
}
public override async Task HandleAsync(SearchItemsRequest req, CancellationToken ct)
=> await Send.OkAsync(await handler.HandleAsync(req, ct), ct);
}