コード例 #1
0
        public IActionResult CheckInWithDetails(int id, int verenigingId)
        {
            McEditie editie = _editieRepository.GetByIdWithTickets(id);

            ViewData["editieName"]        = editie.Naam;
            ViewData["amountTicketsSold"] = editie.Tickets.Count;
            ViewData["amountCheckedIn"]   = editie.GetAmountCheckedIn();
            return(View(new TicketBarcodeVerenigingViewModel(_verenigingRepository.GetById(verenigingId))));
        }
コード例 #2
0
        public IActionResult CheckIn(int id)
        {
            McEditie editie = _editieRepository.GetByIdWithTickets(id);

            ViewData["editieName"]        = editie.Naam;
            ViewData["amountTicketsSold"] = editie.Tickets.Count;
            ViewData["amountCheckedIn"]   = editie.GetAmountCheckedIn();
            return(View());
        }