public IActionResult AddOrEdit([FromForm(Name = "Image")] IFormFile file, CarImage carImage) { var result = _service.AddOrEdit(file, carImage, "Image"); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }