public async Task <IEnumerable <object> > CompanyLookup(string search = null) { if (string.IsNullOrEmpty(search)) { return(new List <object>()); } var repo = new CompanyRepository(context); var term = search.ToLower(); return(await repo.CompanyLookup(term)); }