public IActionResult Search([FromQuery] YachtMerchantProductInventorySearchModel model) { var result = _yachtMerchantProductInventoryService.GetAllYachtMerchantProductInventory(model); if (result.IsSuccessStatusCode) { return(Ok(result)); } return(BadRequest()); }