public IActionResult CreateYacht(YachtCreateModel model) { var result = _yachtService.CreateYacht(model); if (result.IsSuccessStatusCode) { return(Ok(result)); } return(BadRequest()); }