public IActionResult SearchAllYachtCharteringReservationsForYacht([FromQuery] YachtCharteringsOfYachtSearchPagingModel model) { var result = _yachtCharteringService.SearchAllYachtCharteringOfYachtPaging(model); if (result.IsSuccessStatusCode) { return(Ok(result)); } return(BadRequest()); }