Esempio n. 1
0
        public IActionResult ListFilesService()
        {
            var directory = @"C:\";

            fileStorage.ChangeDirectory(directory);
            var files = fileStorage.GetCurrentFiles();
            var vm    = new ListFilesViewModel(directory, files);

            return(View(vm));
        }