feat(infrastructure): PuntoDeVentaRepository con Dapper + mapping SqlException + registro DI

This commit is contained in:
2026-04-17 12:29:16 -03:00
parent 50f6f2b67a
commit 489359f0b8
2 changed files with 256 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ public static class DependencyInjection
services.AddScoped<IRolPermisoRepository, RolPermisoRepository>();
services.AddScoped<IMedioRepository, MedioRepository>();
services.AddScoped<ISeccionRepository, SeccionRepository>();
services.AddScoped<IPuntoDeVentaRepository, PuntoDeVentaRepository>();
// JWT Options — bound lazily via IOptions so tests can override via ConfigureWebHost
services.Configure<JwtOptions>(configuration.GetSection("Jwt"));