public CarsController(GetCarsUseCase getCarsUseCase, CreateCarUseCase createCarUseCase) { _getCarsUseCase = getCarsUseCase; _createCarUseCase = createCarUseCase; }
public CarsController(CreateCarUseCase createCar, GetCarsUseCase getCars, GetCarByIdUseCase getCarById) { _createCar = createCar; _getCars = getCars; _getCarById = getCarById; }