static void Main() { MongoDbPopulator.PopulateFurnitureFactory(); ImportMongoDbDataInMssql(); ImportExcelDataInMssql(); var xmlReporter = new XmlExporter(); var clients = new ClientsExporter(new FurnitureFactoryDbContext()).Export(); xmlReporter.ExportClients(clients, "../../../../Exports/Xml/ClientsReport.xml"); var xmlReporterOrder = new XmlExporter(); var orders = new OrdersExporter(new FurnitureFactoryDbContext()).Export(); xmlReporterOrder.ExportOrders(orders, "../../../../Exports/Xml/OrdersReport.xml"); var products = new ProductsExporter(new FurnitureFactoryDbContext()).Export(); var jsonReporter = new JsonExporter(JsonExporter.DefaultOutputPath, products); jsonReporter.Export(); Console.WriteLine("Ready!"); }