Exemplo n.º 1
0
 public ModelController(IGetModelsCommand getModels, IGetModelCommand getModel, IAddModelCommand addModel, IEditModelCommand editModel, IDeleteModelCommand deleteModel)
 {
     _getModels   = getModels;
     _getModel    = getModel;
     _addModel    = addModel;
     _editModel   = editModel;
     _deleteModel = deleteModel;
 }
Exemplo n.º 2
0
 public ModelController(IAddModelCommand add, IEditModelCommand edit, IDeleteModelCommand delete, IGetModelCommand get, IGetModelsCommand getS)
 {
     _add    = add;
     _edit   = edit;
     _delete = delete;
     _get    = get;
     _getS   = getS;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 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;
 }