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.

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