public ModelController(IGetModelsCommand getModels, IGetModelCommand getModel, IAddModelCommand addModel, IEditModelCommand editModel, IDeleteModelCommand deleteModel) { _getModels = getModels; _getModel = getModel; _addModel = addModel; _editModel = editModel; _deleteModel = deleteModel; }
public ModelController(IAddModelCommand add, IEditModelCommand edit, IDeleteModelCommand delete, IGetModelCommand get, IGetModelsCommand getS) { _add = add; _edit = edit; _delete = delete; _get = get; _getS = getS; }
public ModelController(IGetModelsCommand getModelsCommand, IGetModelCommand getModelCommand, IDeleteModelCommand deleteModelCommand, IAddNewModelCommand addNewModelCommand, IEditModelCommand editModelCommand, IGetModelsOfBrandCommand getModelsOfBrandCommand) { _getModelsCommand = getModelsCommand; _getModelCommand = getModelCommand; _deleteModelCommand = deleteModelCommand; _addNewModelCommand = addNewModelCommand; _editModelCommand = editModelCommand; _getModelsOfBrandCommand = getModelsOfBrandCommand; }
public ModelController(IGetModelCommand getModelCommand, IGetModelsCommand getModelsCommand, IAddModelCommand addModelCommand, IEditModelCommand editModelCommand, IDeleteModelCommand deleteModelCommand, LoggedUser loggedUser) { _getModelCommand = getModelCommand; _getModelsCommand = getModelsCommand; _addModelCommand = addModelCommand; _editModelCommand = editModelCommand; _deleteModelCommand = deleteModelCommand; _loggedUser = loggedUser; }
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; }