Beispiel #1
0
 public ActionResult SelectFiles(string filePath)
 {
     string rootpath = UtilityOperations.GetOOTSRootPath(Server);
     IList<FileModel> files = FileModel.GetFiles(filePath == "" || filePath == "/" ? rootpath : filePath);
     DocumentsOperations documentsOperations = new DocumentsOperations();
     documentsOperations.PopulateNiceNameAndDescription(files);
     return View(new GridModel<FileModel>
     {
         Total = files.Count,
         Data = files
     });
 }