private List<BlobUrl> GetMenuBlobItems()
        {
            BlobHelper blobHelper = new BlobHelper();
            List<BlobUrl> blobMenuItems =new List<BlobUrl>();
            IEnumerable<IListBlobItem> blobItems = blobHelper.GetMenuItems(Constant.BlobContainer);
            foreach (IListBlobItem blobItem in blobItems)
            {
                blobMenuItems.Add(CreateBlobFolder(blobItem));
            }

            return blobMenuItems;
        }
        /// <summary>
        /// Gets the HTM template.
        /// </summary>
        /// <returns>The innerhtml of the template</returns>
        private string GetHtml()
        {
            string subFolder = HttpContext.Current.Request["folder"];
            BlobHelper blobHelper = new BlobHelper();
            string html = blobHelper.GetContent(Constant.BlobContainer, subFolder);

            HtmlDocument doc = new HtmlDocument();
            doc.LoadHtml(html);
            HtmlNode bodyNode = doc.DocumentNode.SelectSingleNode("//body");

            return bodyNode.InnerHtml;
        }
        public ActionResult Delete()
        {
            BlobHelper blobHelper = new BlobHelper();
            string subFolder = Request["folder"];

            if (subFolder == null)
            {
                return RedirectToAction("Index");
            }

            List<IListBlobItem> blobs = blobHelper.ListBlobs(Constant.BlobContainer, subFolder);
            blobHelper.DeleteBlobs(blobs, Constant.BlobContainer);

            return RedirectToAction("Index");
        }
        private List<BlobUrl> GetBlobSubMenuItems()
        {
            string subFolder = HttpContext.Current.Request["folder"];

            BlobHelper blobHelper = new BlobHelper();
            List<BlobUrl> blobMenuItems = new List<BlobUrl>();
            if (string.IsNullOrEmpty(subFolder))
            {
                return blobMenuItems;
            }

            IEnumerable<IListBlobItem> blobSubMenuItems = blobHelper.GetSubMenuItems(Constant.BlobContainer, subFolder);
            blobMenuItems.AddRange(blobSubMenuItems.Select(CreateBlobFolder).OrderBy(x => x.Name.ToInt()));
            return blobMenuItems;
        }