protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); ApplicationThemeHelper.UpdateApplicationThemeName(); using (var context = new DepartmentContext()) { context.Database.Migrate(); context.EnsureSeedData(); } }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); ApplicationThemeHelper.UpdateApplicationThemeName(); using (var context = new DepartmentContext()) { context.Database.Migrate(); context.EnsureSeedData(); } }