Update SurveyLib and add Excel export functionality

This commit is contained in:
Вячеслав 2025-06-09 02:11:34 +05:00
parent 690eaaa32f
commit 837f90db52
5 changed files with 37 additions and 1 deletions

View file

@ -12,6 +12,7 @@ using SurveyBackend.Middlewares;
using SurveyBackend.Services;
using SurveyLib.Infrastructure.EFCore;
using SurveyLib.Infrastructure.EFCore.Data;
using SurveyLib.Tools.Tools;
namespace SurveyBackend;
@ -38,6 +39,8 @@ public class Program
builder.Services.AddSurveyLibInfrastructure();
builder.Services.AddSurveyBackendServices();
builder.Services.AddScoped<TableExporter>();
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
{