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

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