public async Task <IActionResult> Index() { try { var list = await BlobStorageService.GetBlobUriList(BlobStorageService.PicturesContainerName); var model = new PicturesViewModel(); model.Pictures = list; ViewBag.Context = "Pictures"; return(View(model)); } catch (Exception ex) { ViewData["message"] = ex.Message; ViewData["trace"] = ex.StackTrace; return(View("Error")); } }