@@ -1,12 +1,10 @@
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Distribution.Models;
|
||||
|
||||
namespace Distribution.Features.Invoice;
|
||||
|
||||
[ApiController]
|
||||
[Route("api/invoices")]
|
||||
[Authorize("invoice.view")]
|
||||
public class InvoiceController(InvoiceService service) : ControllerBase
|
||||
{
|
||||
[HttpGet]
|
||||
|
||||
Reference in New Issue
Block a user