public HomeController( IAdRepository repo, IMakeRepository makeRepo, IModelRepository modelRepo, IFuelTypeRepository fuelTypeRepo, IBodyTypeRepository bodyTypeRepo, IDamageRepository damageRepo, IColorRepository colorRepo, IGearBoxRepository gearBoxRepo, IMapper mapper) { _repo = repo; _makeRepo = makeRepo; _modelRepo = modelRepo; _fuelTypeRepo = fuelTypeRepo; _bodyTypeRepo = bodyTypeRepo; _damageRepo = damageRepo; _colorRepo = colorRepo; _gearBoxRepo = gearBoxRepo; _mapper = mapper; }
public GearBoxController(IGearBoxRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }