public async Task <ActionResult <List <Ticket> > > Get(string username) { var tickets = await _ticketService.GetByUsername(username); if (tickets == null) { return(NotFound()); } return(tickets); }
public async Task <ActionResult <List <Ticket> > > Get(string username) { var tickets = await _ticketService.GetByUsername(username); if (tickets == null) { return(NotFound()); } return(tickets); }