protected override void OnStartup(StartupEventArgs e)
        {
            NLogService nLogService = new NLogService(Directory.GetCurrentDirectory());
            var         host        = nLogService.BuildHost(CreateHostBuilder);
            var         mainWindow  = host.Services.GetRequiredService <MainWindow>();

            mainWindow.Show();
        }