Test Reportes con Razor y Puppeteer
All checks were successful
Build and Deploy / remote-build-and-deploy (push) Successful in 28m23s

This commit is contained in:
2025-06-19 14:47:43 -03:00
parent 8591945eb4
commit 975a1e6d26
11 changed files with 493 additions and 86 deletions

View File

@@ -15,6 +15,7 @@ using GestionIntegral.Api.Data.Repositories.Usuarios;
using Microsoft.OpenApi.Models;
using GestionIntegral.Api.Data.Repositories.Reportes;
using GestionIntegral.Api.Services.Reportes;
using GestionIntegral.Api.Services.Pdf;
var builder = WebApplication.CreateBuilder(args);
@@ -92,6 +93,8 @@ builder.Services.AddScoped<ISaldoService, SaldoService>();
builder.Services.AddScoped<IReportesRepository, ReportesRepository>();
// Servicios de Reportes
builder.Services.AddScoped<IReportesService, ReportesService>();
// Servicio de PDF
builder.Services.AddScoped<IPdfGeneratorService, PuppeteerPdfGenerator>();
// --- Configuración de Autenticación JWT ---
var jwtSettings = builder.Configuration.GetSection("Jwt");