public IActionResult AddAndReturnData(Car car) { var result = _carService.AddAndReturnData(car); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }