You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

WebApp.cs 299B

1234567891011121314
  1. namespace Diligent.WebAPI.Host.Extensions;
  2. public static class WebApp
  3. {
  4. public static void SetupData(this WebApplication app)
  5. {
  6. IServiceScope serviceScope = app.Services.CreateScope();
  7. serviceScope.SetupData();
  8. app.ConfigureCustomExceptionMiddleware();
  9. }
  10. }