public IActionResult Index() { //test list of images try { var allBlobs = _azureBlobService.ListAsync("assets"); return(View(allBlobs)); } catch (Exception e) { throw; } return(View()); }
public async Task <ActionResult> MySejateraReport() { try { var allBlobs = await _azureBlobService.ListAsync(); return(View(allBlobs)); } catch (Exception ex) { ViewData["message"] = ex.Message; ViewData["trace"] = ex.StackTrace; return(View("Error")); } }
public async Task <IActionResult> TestGetBlobs() { var allBlobs = await _azureBlobService.ListAsync(); return(Ok(allBlobs)); }
public async Task <ActionResult> Index() { var allBlobs = await _azureBlobService.ListAsync(); return(Ok(allBlobs)); }