public IActionResult Search(string yachtTourIdEncrypted, [FromBody] YachtTourOperationDetailSearchModel searchModel) { var tourId = DecryptValue(yachtTourIdEncrypted); var baseresponse = _yachtTourOperationDetailService.Search(tourId, searchModel); if (baseresponse.IsSuccessStatusCode) { return(Ok(baseresponse)); } return(BadRequest()); }