Ejemplo n.º 1
0
        public bool ExecuteCSV(CSVAction action)
        {
            switch (action)
            {
            case CSVAction.Create:
                return(ImportViaCSV());

            case CSVAction.Delete:
                return(DeleteViaCSV());

            default:
                ShowFeedback("Invalid CSV Action. Please contact support.", FeedbackType.Error);
                return(false);
            }
        }
Ejemplo n.º 2
0
        public void Execute(object parameter)
        {
            CSVAction action = (CSVAction)parameter;

            VM.ExecuteCSV(action);
        }