Beispiel #1
0
        public async Task <ActionResult <List <Ticket> > > Get(string username)
        {
            var tickets = await _ticketService.GetByUsername(username);

            if (tickets == null)
            {
                return(NotFound());
            }

            return(tickets);
        }