public async Task <IEnumerable <LaunchpadViewModel> > GetAllAsync(string[] keywords = null) { IEnumerable <LaunchpadViewModel> launchpads = null; launchpads = await _launchpadRepository.GetAllAsync(); if (keywords != null) { launchpads = launchpads.Where(x => keywords.Any(s => x.Name.ToLower().Contains(s) || x.Status.ToLower().Contains(s))); } return(launchpads); }