public async Task <ActionResult <TicketDTO> > GetAsync(int ticketId) { if (await _repo.TicketExistsAsync(ticketId)) { return(Ok(await _repo.ReadTicketAsync(ticketId))); } return(NotFound("Ticket not found")); }