Example #1
0
        public void Import(string filename)
        {
            var payload = new ImportPayload()
            {
                Filename = filename,
                FileType = "JSON"
            };

            _viewModel.ImportPersonsCommand.Execute(payload);
        }
Example #2
0
        private void ImportPersonsFromFile()
        {
            var payload = new ImportPayload
            {
                Filename = "MyRandomFilename.json",
                FileType = "Json"
            };

            _viewModel.ImportPersonsCommand.Execute(payload);
        }