public IHttpActionResult Suggest(string q)
 {
     return(Ok(service.Suggest(q)));
 }
Beispiel #2
0
        public Microsoft.AspNetCore.Mvc.OkObjectResult Suggest(string q)
        {
            var results = service.Suggest(q);

            return(Ok(results));
        }