Simplify syntax

This commit is contained in:
2024-10-02 19:57:07 +02:00
parent 45327d1618
commit 6bb766862f
8 changed files with 65 additions and 24 deletions
@@ -1,11 +1,11 @@
namespace Net.Sdk.Web.Extensions.SourceGenerators.Tests.Routes;
[GenerateRoute]
[GenerateController]
public class SimpleRoute2
{
[GenerateMapPost(Pattern = "somethingSimple")]
[GeneratePost("somethingSimple")]
public async Task<IResult> GetSomething()
{
return Results.Ok();
}
}