private void GoToParent() { if (FileService != null && FileService.CanGoToParent(CurrentFolder?.Path)) { string parentPath = Path.GetDirectoryName(CurrentFolder.Path); EnumerateDirectory(parentPath); } }