Esempio n. 1
0
        public IActionResult CancelBooking(MovieInfo Movie)
        {
            int logged = Convert.ToInt32(HttpContext.Session.GetInt32("Logged"));

            if (logged == 1)
            {
                MovieDBObj.Cancel(Movie.BookID, Movie.Seat);
            }
            return(RedirectToAction("../Movie/Home"));
        }