private void CreateXMLReport_button(object sender, RoutedEventArgs e)
        {
            var path        = @"../../../Xml-Report";
            var xmlReporter = new XmlExporter(this.dbContext);

            xmlReporter.GenerateReport(path);
        }
 public override void Execute(string[] commandArgs)
 {
     var startDate = DateTime.Parse(commandArgs[1]);
     var endDate = DateTime.Parse(commandArgs[2]);
     var xmlExporter = new XmlExporter();
     this.Engine.OutputWriter.Write(xmlExporter.GenerateReport(startDate, endDate));
 }
        public static void Task3()
        {
            //Button - Create XML Report
            var context     = new ComputersFactoryContext();
            var path        = @"..\..\..\";
            var xmlReporter = new XmlExporter(context);

            xmlReporter.GenerateReport(path);
        }