コード例 #1
0
        public ActionResult Delete(int id, string fileName)
        {
            MenuBLL bll          = new MenuBLL();
            bool    b            = bll.DeteleMenu(id);
            string  PhysicalPath = Server.MapPath("/Menu/");

            deleteFile(PhysicalPath + fileName);
            return(Json(new { success = b }, JsonRequestBehavior.AllowGet));
        }