mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-13 05:12:27 +00:00
Refactor Database into DatabaseContext Moved into separate folder so it actually has a namespace instead sitting in the root
17 lines
No EOL
406 B
C#
17 lines
No EOL
406 B
C#
#nullable enable
|
|
using LBPUnion.ProjectLighthouse.Database;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace LBPUnion.ProjectLighthouse.Servers.Website.Controllers.Admin;
|
|
|
|
[ApiController]
|
|
[Route("/admin")]
|
|
public class AdminPanelController : ControllerBase
|
|
{
|
|
private readonly DatabaseContext database;
|
|
|
|
public AdminPanelController(DatabaseContext database)
|
|
{
|
|
this.database = database;
|
|
}
|
|
} |