Esempio n. 1
0
        public CarImageResponse UpdateCarImage(CarImages carImages)
        {
            var response = new CarImageResponse
            {
                Errors = new List <string>()
            };

            _repository.UpdateCarImage(carImages);

            response.Success = true;
            return(response);
        }
Esempio n. 2
0
        public CarImageResponse DeleteCarImage(int id)
        {
            var response = new CarImageResponse
            {
                Errors = new List <string>()
            };

            _repository.DeleteCarImage(id);

            response.Success = true;
            return(response);
        }