Exemple #1
0
        public ActionResult Index()
        {
            FileDB.CreateEmptyFile(pathDB, true);

            var files = FileDB.ListFiles(pathDB);

            ViewData["TotalFiles"] = files.Length;

            return(View(files.Take(200).ToArray()));
        }