Skip to content

Commit

Permalink
add index for api
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasisnes committed Sep 29, 2024
1 parent 3cee023 commit 22d74fd
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
return Results.Ok();
});

app.MapGet("/accesspackages", ([FromServices] ILogger<Program> logger) =>
{
logger.LogInformation("route=/accesspackages");
return Results.Ok(new { Hello = "From Access Packages" });
});

await app.RunAsync();

/// <summary>
Expand Down

0 comments on commit 22d74fd

Please sign in to comment.