Beispiel #1
0
        public ActionResult EditMovie(MovyEntity movy)
        {
            bool isUpdated = false;

            if (ModelState.IsValid)
            {
                isUpdated = MovieBL.UpdateMovieBL(movy);
                if (isUpdated)
                {
                    return(RedirectToAction("Index"));
                }
            }

            return(View(movy));
        }