public TipController(IGetTypesCommand getTypesCommand, IGetTypeCommand getTypeCommand, IDeleteTypeCommand deleteTypeCommand, IAddNewTypeCommand addNewTypeCommand, IEditTypeCommand editTypeCommand) { _getTypesCommand = getTypesCommand; _getTypeCommand = getTypeCommand; _deleteTypeCommand = deleteTypeCommand; _addNewTypeCommand = addNewTypeCommand; _editTypeCommand = editTypeCommand; }
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; }