Moved to appropriate place

This commit is contained in:
Veljko Tosic
2026-02-14 18:47:21 +01:00
parent 62da4b7392
commit c5b08de0a2

View File

@@ -1,16 +0,0 @@
using AipsCore.Infrastructure.Persistence.Db;
using Microsoft.Extensions.DependencyInjection;
namespace AipsCore.Infrastructure.DI;
public static class StartupExtensions
{
public static async Task InitializeInfrastructureAsync(this IServiceProvider services)
{
using var scope = services.CreateScope();
var serviceProvider = scope.ServiceProvider;
await DbInitializer.SeedRolesAsync(serviceProvider);
}
}