Update to TicketController.cs to allow for pagination