internal async Task UpdateDatabases() { using (var main = new DatabaseContext()) using (var localization = new LocalizationContext()) await Task.WhenAll(main.Migrate(), localization.Migrate()); }
private static async Task MigrateLocalized(bool intialize) { using (var context = new LocalizationContext()) await context.Migrate(intialize).ConfigureAwait(false); }