public void DownloadFile_Inlocalfile_FromS3() { string path = Helper.GetDatasetPath("projects.csv"); string key = "test_projects.csv"; aws.DownloadFile(path, key); }
public ActionResult Get(string projectName) { try { string datasourcepath = Helper.GetDatasetPath("projectsRelationships.json"); s3.DownloadFile(datasourcepath, $"force/{projectName}.json"); return(File("~/force.html", "text/html")); } catch (Exception e) { return(new JsonResult(e.Message + e.StackTrace)); } }