Ejemplo n.º 1
0
        public IActionResult SourceFileLoad()
        {
            ListViewModel model = new ListViewModel();

            model.SourceFiles = _sourceFile.Table().ToList();
            model.SourceFiles.ForEach(x =>
            {
                x.Length = x.Length / 1024;
            });
            return(View(model));
        }