Пример #1
0
 // GET: api/Drive
 public IEnumerable <DriveInfo> Get()
 {
     return(dHelper.GetDrives());
 }
Пример #2
0
 public IEnumerable <FileInfo> Get()
 {
     directoryHepler = new DirectoryHelper(driveHelper.GetDrives().FirstOrDefault().Name);
     return(directoryHepler.GetFiles());
 }