public CarController(ICarRepository carRepository, ICarColorRepository carColorRepository, ICarBrandRepository carBrandRepository, IMapper mapper) { _mapper = mapper; _carRepository = carRepository; _carBrandRepository = carBrandRepository; _carColorRepository = carColorRepository; }
public CarColorController(ICarColorRepository r) { repo = r; }