Exemplo n.º 1
0
        public IActionResult Index()
        {
            DSActions dsa = new DSActions(_env);

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

            ViewBag._ds = dsa.GetDataSet();
            ViewBag.pID = id;
            return(View());
        }
Exemplo n.º 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"));
        }