public IActionResult GetImagesByCarId(int carId) { var result = _carImageService.GetAllCarImagesByCarId(carId); if (result.Success) { return(Ok(result)); } else { return(BadRequest(result.Message)); } }