public ActionResult Delete(int id)
        {
            SeanceContext db = new SeanceContext();

            db.Seances.Remove(db.Seances.Where(s => s.Id == id).SingleOrDefault());
            db.SaveChanges();
            return(RedirectToAction("Seances"));
        }
        public ActionResult AddOrder(Seating s)
        {
            SeanceContext db = new SeanceContext();

            db.Seatings.Add(new Seating {
                SeanceID = s.SeanceID, UserID = 1, Row = s.Row, Place = s.Place
            });
            db.SaveChanges();
            return(RedirectToAction("Buy", new { id = s.SeanceID }));
        }
        public ActionResult AddSeance(Seance s)
        {
            SeanceContext db = new SeanceContext();

            db.Seances.Add(new Seance {
                dt = s.dt, Name = s.Name, Genre = s.Genre, Price = s.Price
            });
            db.SaveChanges();
            return(RedirectToAction("Seances"));
        }