public ActionResult Create(tSeatClass tseatclass)
        {
            if (ModelState.IsValid)
            {
                db.tSeatClass.Add(tseatclass);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            ViewBag.tVenueId = new SelectList(db.tVenue, "tVenueId", "Name", tseatclass.tVenueId);
            return View(tseatclass);
        }
 public ActionResult Edit(tSeatClass tseatclass)
 {
     if (ModelState.IsValid)
     {
         db.Entry(tseatclass).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.tVenueId = new SelectList(db.tVenue, "tVenueId", "Name", tseatclass.tVenueId);
     return View(tseatclass);
 }