public async Task Suggest()

in src/Relecloud.Web.CallCenter/Controllers/ConcertController.cs [249:261]


        public async Task<JsonResult> Suggest(string query)
        {
            try
            {
                var suggestions = await this.concertSearchService.SuggestAsync(query);
                return Json(suggestions);
            }
            catch (Exception ex)
            {
                this.logger.LogError(ex, $"Unable to suggest search results for query '{query}'");
                return Json(new string[0]);
            }
        }