Granular permission back end done

This commit is contained in:
2026-04-11 19:03:45 +09:30
parent 3fe90355e0
commit 611f695db6
51 changed files with 3322 additions and 803 deletions
+15 -15
View File
@@ -1,25 +1,25 @@
using FJPSite.Enums;
using FJPSite.Models;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
namespace FJPSite.Controllers
namespace FJPSite.Controllers;
public class HomeController : Controller
{
public class HomeController : Controller
public IActionResult Index()
{
public IActionResult Index()
{
return View();
}
return View();
}
public IActionResult Privacy()
{
return View();
}
public IActionResult Privacy()
{
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
}