Beispiel #1
0
        public void GetReservedSeatsByShowingIdTest()
        {
            List <Ticket> tickets = purchaseDAO.GetReservedSeatsByShowingId(256);
            int           actual  = tickets.Count;

            Assert.IsTrue(actual > 0);
        }
Beispiel #2
0
 public IActionResult GetReservedSeatsByShowingId(int showingId)
 {
     return(new JsonResult(purchaseDAO.GetReservedSeatsByShowingId(showingId)));
 }