public async Task <IActionResult> SearchAsync([FromBody] SearchTerms terms) { var result = await _searchInterface.SerchAsync(terms.CustomerId); if (result.IsSucess) { return(Ok(result.SearchResults)); } return(NotFound()); }