@page @using AfRApay.Web.Backend.Database @model IndexModel @{ ViewData["Title"] = "Index"; var db = new DatabaseContext(); } @section Header { } @section Scripts { }
Nickname | Balance | Cards | Actions |
---|---|---|---|
@user.Nickname | @($"{user.Balance / 100M:C}") | @db.Cards.Count(p => p.User.Id == user.Id) cards linked. |