Log on/off works; WIP on layout
This commit is contained in:
19
src/MyWebLog/Features/Admin/AdminController.cs
Normal file
19
src/MyWebLog/Features/Admin/AdminController.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace MyWebLog.Features.Admin;
|
||||
|
||||
/// <summary>
|
||||
/// Controller for admin-specific displays and routes
|
||||
/// </summary>
|
||||
[Route("/admin")]
|
||||
public class AdminController : MyWebLogController
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public AdminController(WebLogDbContext db) : base(db) { }
|
||||
|
||||
[HttpGet("")]
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user