mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-25 23:18:54 -07:00
14 lines
366 B
C#
14 lines
366 B
C#
namespace CannedNet.Services;
|
|
|
|
public class CommerceService
|
|
{
|
|
public WebApplicationBuilder Initialize(string[]? args = null) => ServiceExtensions.CreateRecNetBuilder(args);
|
|
|
|
public void MapEndpoints(WebApplication app)
|
|
{
|
|
app.MapGet("/purchase/v1/hasspentmoney", (HttpRequest request) =>
|
|
{
|
|
return "true";
|
|
});
|
|
}
|
|
} |