예제 #1
0
        public ActionResult AlbamPhotos(AlbamPhoto add, HttpPostedFileBase File)
        {
            album.Add_Albam_Photo(add, File);

            //Message
            TempData["msg"] = "<script>alert('Upload  Albam Photos Successfully');</script>";



            //Current Url Redirect

            return(Redirect(HttpContext.Request.UrlReferrer.AbsoluteUri));


            // return View();
        }