コード例 #1
0
        public IActionResult AddBatch([FromForm] CarImage carImage)
        {
            var imageSave = new FormFileImageSave();

            _carImageService.ImageSaveBase(imageSave);
            var result = _carImageService.AddFormFile(carImage);

            if (result.Success == true)
            {
                return(Ok(result));
            }
            return(BadRequest(result));
        }