public IActionResult Index() { DSActions dsa = new DSActions(_env); ViewBag._ds = dsa.GetDataSet(); return(View()); }
public IActionResult Files(string id) { DSActions dsa = new DSActions(_env); ViewBag._ds = dsa.GetDataSet(); ViewBag.pID = id; return(View()); }
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")); }