I am trying to access the Dropbox API and would like to display an image hosted on my dropbox server to display on my razor view
My Controller Action:
public ActionResult ThreatsOverviewView() {
Models.ThreatsOverviewModel tom = new Models.ThreatsOverviewModel();
List<SelectListItem> imgName = tom.ImageName;
string accesstkn =
ConfigurationManager.AppSettings["DropboxAccessToken"]; tom.dbxuser = new DropboxClient(accesstkn); tom.dbxuser.Files.GetThumbnailAsync("RootCauses.png");
//Task task = ListRootFolder(dbxuser);
return View(tom);
}How to display the image in the razor view?