public async Task <IActionResult> Get([FromQuery(Name = "search")] string searchString) { if (string.IsNullOrEmpty(searchString)) { return(Ok(await _skillLogic.GetAsync())); } var skills = await _skillLogic.SearchAsync(searchString); if (skills.Count() == 0) { return(NoContent()); } else { return(Ok(skills)); } }