feat(HistoryController): HistoryController mit Logging und Envelope History Service Integration hinzugefügt

This commit is contained in:
Developer 02
2024-09-06 16:43:42 +02:00
parent 4172df4d78
commit 75fff426bc

View File

@@ -0,0 +1,22 @@
using EnvelopeGenerator.Application.Contracts;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace EnvelopeGenerator.GeneratorAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
[Authorize]
public class HistoryController : ControllerBase
{
private readonly ILogger<HistoryController> _logger;
private readonly IEnvelopeHistoryService _service;
public HistoryController(ILogger<HistoryController> logger, IEnvelopeHistoryService service)
{
_logger = logger;
_service = service;
}
}
}