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 getModels, IGetModelCommand getModel, IAddModelCommand addModel, IEditModelCommand editModel, IDeleteModelCommand deleteModel) { _getModels = getModels; _getModel = getModel; _addModel = addModel; _editModel = editModel; _deleteModel = deleteModel; }
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; }