initial commit
This commit is contained in:
commit
2d966b8198
28 changed files with 2901 additions and 0 deletions
11
Pages/Leaderboard.cshtml.cs
Normal file
11
Pages/Leaderboard.cshtml.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using CsWeb.Services;
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
|
||||
namespace CsWeb.Pages;
|
||||
|
||||
public class LeaderboardModel(Fleet fleet) : PageModel
|
||||
{
|
||||
public Cached<TopPayload>? Top { get; private set; }
|
||||
|
||||
public async Task OnGetAsync() => Top = await fleet.Top();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue