Ejemplo n.º 1
0
        /// <summary>
        /// Gets a list of TicketIDs from all Tickets
        /// </summary>
        /// <returns>A list of TicketIDs</returns>
        public List <int> GetTickets()
        {
            List <int> ticksIDs = new List <int>();

            ticksList = tR.GetTickets();
            foreach (var t in ticksList)
            {
                ticksIDs.Add(t.TickID);
            }
            //Returns a list of Ticket IDs
            return(ticksIDs);
        }
Ejemplo n.º 2
0
        public void GetTicketsTest()
        {
            var test = ticketRepo.GetTickets();

            Assert.IsNotNull(test);
        }