public async Task <IActionResult> SearchChildren([FromQuery] string zoekTekst, [FromQuery] string param = "naam") { if (zoekTekst == null) { return(Ok(new List <Models.SearchKindModel>())); } var result = await _dataProcessor.Search(zoekTekst, param); return(Ok(result)); }