Exemple #1
0
        public IActionResult Index()
        {
            DSActions dsa = new DSActions(_env);

            ViewBag._ds = dsa.GetDataSet();
            return(View());
        }
Exemple #2
0
        public IActionResult Files(string id)
        {
            DSActions dsa = new DSActions(_env);

            ViewBag._ds = dsa.GetDataSet();
            ViewBag.pID = id;
            return(View());
        }
Exemple #3
0
        public IActionResult upload(string id)
        {
            //List<IFormFile> files
            var       files = Request.Form.Files;
            DSActions dsa   = new DSActions(_env);

            dsa.SaveFiles(id, files);
            ViewBag._ds = dsa.GetDataSet();
            ViewBag.pID = id;
            return(View("Files"));
        }