public GorivoController(IGetFuelsCommand getFuelsCommand, IGetFuelCommand getFuelCommand, IAddNewFuelTypeCommand addFuelCommand, IDeleteFuelCommand deleteFuelCommand, IEditFuelCommand editFuelCommand) { _getFuelsCommand = getFuelsCommand; _getFuelCommand = getFuelCommand; _addFuelCommand = addFuelCommand; _deleteFuelCommand = deleteFuelCommand; _editFuelCommand = editFuelCommand; }
public FuelController(IAddFuelCommand add, IEditFuelCommand edit, IDeleteFuelCommand delete, IGetFuelCommand get, IGetFuelsCommand getS) { _add = add; _edit = edit; _delete = delete; _get = get; _getS = getS; }
public CarsController(IGetCarsCommand getCarsCommand, IGetCarCommand getCarCommand, IDeleteCarCommand deleteCarCommand, IGetCategoriesCommand getCategoriesCommand, IGetFuelsCommand getFuelsCommand, IGetBrandsCommand getBrandsCommand, IGetTypesCommand getTypesCommand, IGetModelsCommand getModelsCommand) { _getCarsCommand = getCarsCommand; _getCarCommand = getCarCommand; _deleteCarCommand = deleteCarCommand; _getCategoriesCommand = getCategoriesCommand; _getFuelsCommand = getFuelsCommand; _getBrandsCommand = getBrandsCommand; _getTypesCommand = getTypesCommand; _getModelsCommand = getModelsCommand; }