public async Task GetAsync()

in src/Relecloud.Web.CallCenter.Api/Controllers/TicketController.cs [40:58]


        public async Task<IActionResult> GetAsync(int id)
        {
            try
            {
                var ticket = await this.concertRepository.GetTicketByIdAsync(id);

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

                return Ok(ticket);
            }
            catch (Exception ex)
            {
                logger.LogError(ex, "Unhandled exception from TicketController.GetAsync");
                return Problem("Unable to GetAsync this ticket");
            }
        }