Ejemplo n.º 1
0
        public async Task <ActionResult> AddCar([FromForm] CarPhotoDto carPhotoDto)
        {
            try
            {
                var addcar = await _carService.AddCarService(carPhotoDto);

                return(Ok());
            }
            catch (Exception)
            {
                return(BadRequest("Failed to add car :/"));
            }
        }