From 6c53f3dc43f072dce4ffe4a1bd306074dd20ff39 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Sun, 17 Aug 2025 22:10:27 +1000 Subject: Initial commit --- Pages/Index.cshtml.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Pages/Index.cshtml.cs (limited to 'Pages/Index.cshtml.cs') diff --git a/Pages/Index.cshtml.cs b/Pages/Index.cshtml.cs new file mode 100644 index 0000000..e03a330 --- /dev/null +++ b/Pages/Index.cshtml.cs @@ -0,0 +1,15 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace HyperBooru.Pages; + +public class IndexModel : PageModel { + public IEnumerable Media => db.Media; + + private HyperBooruDbContext db; + + public IndexModel(HyperBooruDbContext db) => + this.db = db; + + public void OnGet() {} +} \ No newline at end of file -- cgit v1.3