Ejemplo n.º 1
0
        public async Task <ActionResult <IReadOnlyCollection <TicketDto> > > GetTicketByEvent([FromQuery] int eventId)
        {
            var result = await ticketManager.GetTicketsByEventIdAsync(eventId);

            return(Ok(result));
        }