Beispiel #1
0
        public static void Main()
        {
            var xmlProcessor = new XmlProcessor();

            xmlProcessor.ImportData();
            xmlProcessor.ExportData();
        }
        public static void Main(string[] args)
        {
            XmlProcessor xmlProcessor = new XmlProcessor();

            xmlProcessor.ImportData();
            xmlProcessor.ExportProductsInRange();
            xmlProcessor.ExportSoldProducts();
            xmlProcessor.ExportCategoriesByProductsCount();
            xmlProcessor.ExportUsersAndProducts();

            JsonProcessor jsonProcessor = new JsonProcessor();

            jsonProcessor.ImportData();
            jsonProcessor.ExportProductsInRange();
            jsonProcessor.ExportSoldProducts();
            jsonProcessor.ExportCategoriesByProductsCount();
            jsonProcessor.ExportUsersAndProducts();
        }
        static void Main(string[] args)
        {
            XmlProcessor xmlProcessor = new XmlProcessor();

            xmlProcessor.ImportData();
            xmlProcessor.GetCarsWithDistance();
            xmlProcessor.GetCarsFromMakeFerrari();
            xmlProcessor.GetLocalSuppliers();
            xmlProcessor.GetCarsWithTheirListParts();
            xmlProcessor.GetTotalSalesByCustomer();
            xmlProcessor.GetSalesWithAppliedDiscount();

            JsonProcessor jsonProcessor = new JsonProcessor();

            jsonProcessor.ImportData();
            jsonProcessor.ExportOrderedCustomers();
            jsonProcessor.ExportCarsFromMakeToyota();
            jsonProcessor.ExportLocalSuppliers();
            jsonProcessor.ExportCarsWithListOfParts();
            jsonProcessor.ExportTotalSalesByCustomer();
            jsonProcessor.ExportSalesWithAppliedDiscount();
        }