private static async Task Sync() { var context = AppServices.GetService <ExplorerDbContext>(); await context.Database.EnsureCreatedAsync(); ExplorerSync.StartSync(context); }