mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 23:29:46 +00:00
721ee8e494
* Move shared code to Shared project * Move from Realm to Squealify * Rename Daybreak.Shared namespaces * Setup API project to expose a test API
14 lines
305 B
C#
14 lines
305 B
C#
using Net.Sdk.Web;
|
|
|
|
namespace Daybreak.API.Controllers;
|
|
|
|
[GenerateController("api/test")]
|
|
public sealed class TestController
|
|
{
|
|
[GenerateGet("testing")]
|
|
public IResult GetTest(CancellationToken token)
|
|
{
|
|
return Results.Text("Hello from injected ASP-NET Core!", "text/plain");
|
|
}
|
|
}
|