public ActionResult AutoCompleteSearchChannel() { Logger.Info(_logMsg.Clear().SetPrefixMsg("Auto complete Search Channel").ToInputLogString()); try { _srFacade = new ServiceRequestFacade(); List <ChannelEntity> result = _srFacade.AutoCompleteSearchChannel(); return(Json(result.Select(r => new { r.ChannelId, r.Name, }))); } catch (Exception ex) { Logger.Info(_logMsg.Clear().SetPrefixMsg("Auto complete Search Channel").ToFailLogString()); return(Error(new HandleErrorInfo(ex, this.ControllerContext.RouteData.Values["controller"].ToString(), this.ControllerContext.RouteData.Values["action"].ToString()))); } }