public CarImageResponse UpdateCarImage(CarImages carImages) { var response = new CarImageResponse { Errors = new List <string>() }; _repository.UpdateCarImage(carImages); response.Success = true; return(response); }
public CarImageResponse DeleteCarImage(int id) { var response = new CarImageResponse { Errors = new List <string>() }; _repository.DeleteCarImage(id); response.Success = true; return(response); }