Beispiel #1
0
        public async Task <ActionResult> DeleteAll()
        {
            try
            {
                await _azureBlobService.DeleteAllAsync();

                return(RedirectToAction("Index"));
            }
            catch (Exception ex)
            {
                ViewData["message"] = ex.Message;
                ViewData["trace"]   = ex.StackTrace;
                return(View("Error"));
            }
        }