public ActionResult Index()
 {
     ViewData["Message"] = "Welcome to the Windows Azure Blob Storing ASP.NET MVC Web Application!";
     var blobManager = new FileBlobManager();
     var fileItemModels = blobManager.GetBlobFileList();
     return View(fileItemModels);
 }
        public ActionResult UploadFile()
        {
            foreach (string inputTagName in Request.Files)
            {
            var file = Request.Files[inputTagName];

            if (file.ContentLength > 0)
            {
                var blobFileModel =
                    new BlobModel
                    {
                        BlobFile = file.InputStream,
                        UploadedOn = DateTime.Now,
                        ResourceLocation = Path.GetFileName(file.FileName)
                    };

                var blobManager = new FileBlobManager();
                blobManager.PutFile(blobFileModel);
            }
            }

            return RedirectToAction("Index", "Home");
        }
 public ActionResult Delete(string identifier)
 {
     var blobManager = new FileBlobManager();
     blobManager.Delete(identifier);
     return RedirectToAction("Index", "Home");
 }