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; }