/// <summary>
        ///		Abre un cuadro de diálogo
        /// </summary>
        public SystemControllerEnums.ResultType OpenDialog(Libraries.BauMvvm.ViewModels.Forms.Dialogs.BaseDialogViewModel dialogViewModel)
        {
            SystemControllerEnums.ResultType result = SystemControllerEnums.ResultType.Yes;

            // Muestra la ventana adecuada
            switch (dialogViewModel)
            {
            case Libraries.BauSparkScripts.ViewModels.Solutions.Details.Cloud.StorageViewModel viewModel:
                result = HostHelperController.ShowDialog(MainWindow, new Views.Cloud.StorageView(viewModel));
                break;

            case Libraries.BauSparkScripts.ViewModels.Solutions.Details.Connections.ConnectionViewModel viewModel:
                result = HostHelperController.ShowDialog(MainWindow, new Views.Connections.ConnectionView(viewModel));
                break;

            case Libraries.BauSparkScripts.ViewModels.Solutions.Details.Files.CsvFilePropertiesViewModel viewModel:
                result = HostHelperController.ShowDialog(MainWindow, new Views.Files.CsvFilePropertiesView(viewModel));
                break;

            case Libraries.BauSparkScripts.ViewModels.Solutions.Details.Deployments.DeploymentViewModel viewModel:
                result = HostHelperController.ShowDialog(MainWindow, new Views.Deployments.DeploymentView(viewModel));
                break;
            }
            // Devuelve el resultado
            return(result);
        }
        /// <summary>
        ///		Abre una ventana de detalles
        /// </summary>
        public SystemControllerEnums.ResultType OpenWindow(IDetailViewModel detailViewModel)
        {
            SystemControllerEnums.ResultType result = SystemControllerEnums.ResultType.Yes;

            // Muestra la ventana adecuada
            switch (detailViewModel)
            {
            case Libraries.BauSparkScripts.ViewModels.Solutions.Details.Connections.ConnectionViewModel viewModel:
                result = HostHelperController.ShowDialog(MainWindow, new Views.Connections.ConnectionView(viewModel));
                break;

            default:
                OpenWindowRequired?.Invoke(this, detailViewModel);
                break;
            }
            // Devuelve el resultado
            return(result);
        }