Beispiel #1
0
        public IActionResult Download()
        {
            var evm = new ExportViewModel
            {
                Files = excelConfig.GetAll(1).ConvertAll(x => new ExportFile {
                    Display = x.File, ClassName = x.Type
                })
                        .Union(dXFRepo.GetAll(false).ConvertAll(x => new ExportFile {
                    Display = x, ClassName = "dxf"
                }))
            };

            return(View(evm));
        }