//
        // GET: /Tickets/

        public PartialViewResult Reserveer()
        {
            ViewBag.Type = new SelectList(TicketType.GetTypes().Where(type => type.AvailableTickets > 0), "ID", "Name");

            TicketIndexViewModel vm = null;

            if (Session["TicketViewModel"] != null)
            {
                vm = (TicketIndexViewModel)Session["TicketViewModel"];
            }
            else
            {
                vm = new TicketIndexViewModel();
            }
            return(PartialView("ReserveerPartial", vm));
        }
 public PartialViewResult Tickets()
 {
     return(PartialView(TicketType.GetTypes()));
 }