private void ProcessKBSearch(HttpContext context, int parentID, int userID, string searchTerm, int customerHubID) { SearchResults kbResults = TicketsView.GetHubSearchKBResults(searchTerm, LoginUser.Anonymous, parentID); List <KBSearchItem> result = GetKBResults(kbResults, LoginUser.Anonymous, userID, parentID, customerHubID); WriteJson(context, result); }