public async void OnGetExcellFromZip(object sender, RoutedEventArgs e) { ZipReader.ZipReader.Read("../../../tables.zip"); var db = new TuxedoDb(); using (db) { SeedXcelToDb.SeedBrands("Brand", db); SeedXcelToDb.SeedColors("Color", db); SeedXcelToDb.SeedCountries("Countries", db); SeedXcelToDb.SeedMaterials("Materials", db); SeedXcelToDb.SeedTypes("Types", db); SeedXcelToDb.SeedItems("Items", db); } Console.WriteLine(DataTransfered, "Excell"); var mongo = new MongoHandler("TuxedoDB"); await mongo.TransferToMSSQL(); Console.WriteLine("Data from MongoDb Imported!"); }