public static void Initialize(IServiceProvider serviceProvider) { ApplicationDbContextSeeder.Seeding(serviceProvider.GetService <ApplicationDbContext>()).Wait(); }
public static void Main(string[] args) { ApplicationDbContextSeeder.Initialize(); }
public static void Initialize() { ApplicationDbContextSeeder.Seeding(new ApplicationDbContextFactory().Create()).Wait(); }