Files
Aberwyn/Aberwyn/Controllers/ReportApiController.cs
2026-01-24 16:52:54 +01:00

27 lines
516 B
C#

using Aberwyn.Data;
using Aberwyn.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace Aberwyn.Controllers
{
[Authorize(Roles = "Budget")]
[ApiController]
[Route("api/report")]
public class ReportApiController : ControllerBase
{
private readonly ApplicationDbContext _context;
public ReportApiController(ApplicationDbContext context)
{
_context = context;
}
}
}