diff --git a/Program.cs b/Program.cs index 69948c6..a1b73e1 100644 --- a/Program.cs +++ b/Program.cs @@ -9,22 +9,7 @@ builder.Services.AddScoped(); var app = builder.Build(); - - - -app.UseSwagger(); -app.UseSwaggerUI(); - -app.UseCors("AllowAll"); -app.UseHttpsRedirection(); - -app.UseAuthorization(); - -// app.MapPost(@"test/route", (EventModel model, IGoogleCalendarService _service) => -// { -// var createdEvent = _service.CreateEvent(model); -// return createdEvent; -// }); +app.UseRouting(); app.MapControllers(); app.Run(); \ No newline at end of file