From e0a43aa988c7eb4d140f58efaaed2afbf2b8cd02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IKUZE=20NKUNDIMANA=20Ars=C3=A8ne?= Date: Thu, 28 May 2026 15:48:01 +0200 Subject: [PATCH] Actualiser MetaCourse.Api/Program.cs --- MetaCourse.Api/Program.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MetaCourse.Api/Program.cs b/MetaCourse.Api/Program.cs index 90027e1..2627fda 100644 --- a/MetaCourse.Api/Program.cs +++ b/MetaCourse.Api/Program.cs @@ -6,10 +6,6 @@ using Microsoft.EntityFrameworkCore.Diagnostics; var builder = WebApplication.CreateBuilder(args); -// Database -builder.Services.AddDbContext(options => - options.UseSqlServer("Server=romaric-thibault.fr;Database=arsene_MetaCourseV2;User Id=arsene;Password=Onto9-Cage-Afflicted;TrustServerCertificate=true;") - .ConfigureWarnings(w => w.Ignore(RelationalEventId.PendingModelChangesWarning))); // AutoMapper builder.Services.AddAutoMapper(typeof(Program).Assembly);