AdminPanel

This commit is contained in:
dingo
2025-12-24 20:34:48 -05:00
parent ddf9a4b8c5
commit ef3ce84aec
23 changed files with 1782 additions and 0 deletions
@@ -0,0 +1,21 @@
using Microsoft.EntityFrameworkCore;
using Server.Data;
namespace VoidScavengers.Admin.Pages.Recipes;
public class IndexModel : AdminPageModel
{
private readonly GameDbContext _db;
public IndexModel(GameDbContext db)
{
_db = db;
}
public int RecipeCount { get; set; }
public async Task OnGetAsync()
{
RecipeCount = await _db.DungeonCraftingRecipes.CountAsync();
}
}