feat: Add [Authorize] to SlidesController

This commit is contained in:
2026-05-21 13:57:42 +10:00
parent eb409d9778
commit 5f6dbcf585
+2
View File
@@ -1,3 +1,4 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using NoticeBoard.Data;
@@ -5,6 +6,7 @@ using NoticeBoard.Models;
namespace NoticeBoard.Controllers;
[Authorize]
public class SlidesController : Controller
{
private readonly AppDbContext _db;