I have a method and I need to pass a group files to another method, please help me resolve this...
[System.Web.Http.HttpPost]public ActionResult GetDocon(FormCollection Form) { var Model = new DocData(); try { HttpPostedFileBase[] DisplayFiles = new HttpPostedFileBase[Request.Files.Count]; <-- Need a list with the actual files var GetListFiles = new List<string>(); if (Request.Files != null) { // do something with files } SendFiles_AWSS3(DisplayFiles); <-- Need to pass the actual files to this method (this should be 1 or more files) } catch (Exception Ex) { } return RedirectToAction("ShowFiles", TempData["DisplayFiles"]); }