diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-15 15:49:14 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2025-08-18 10:59:32 +1000 |
| commit | 38c60cee378b9c2ad42fc9dc79bc492b919a68f5 (patch) | |
| tree | 6b62f84aab4b7866432e5da8ae8fcb889795d58b /DebugController.cs | |
| parent | 07a4c7ead01514bd3f304f00abc38140a1d73634 (diff) | |
Convert Razor pages to Blazor
Diffstat (limited to 'DebugController.cs')
| -rw-r--r-- | DebugController.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/DebugController.cs b/DebugController.cs deleted file mode 100644 index 7a87729..0000000 --- a/DebugController.cs +++ /dev/null @@ -1,22 +0,0 @@ -using Microsoft.AspNetCore.Mvc; - -namespace HyperBooru; - -#if DEBUG -[ApiController] -[Route("/debug")] -public class DebugController : Controller { - private HyperBooruDbContext db; - - public DebugController(HyperBooruDbContext db) => - this.db = db; - - [HttpGet("media")] - public IActionResult Media() => - Ok(db.Media.ToList()); - - [HttpGet("tags")] - public IActionResult TagDefinitions() => - Ok(db.Tags.ToList()); -} -#endif
\ No newline at end of file |
