Ejemplo n.º 1
0
        public ActionResult CheckExist()
        {
            BlobStorageService svBlob = new BlobStorageService();
            var exist    = svBlob.Exists("Manual/mail-month.txt");
            var notexist = svBlob.Exists("Manual/mail-month2.txt");

            return(Json(new { exist = exist, notexist = notexist }, JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 2
0
        public ActionResult CheckExist(string name)
        {
            BlobStorageService svBlob = new BlobStorageService();

            ViewBag.Path  = name;
            ViewBag.Exist = svBlob.Exists(name);


            return(View("TestBlob"));
        }