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);