Example #1
0
 public ManufacturerController(IGetManufacturerCommand getManufacturerCommand, IGetManufacturersCommand getManufacturersCommand, IAddManufacturerCommand addManufacturerCommand, IEditManufacturerCommand editManufacturerCommand, IDeleteManufacturerCommand deleteManufacturerCommand)
 {
     _getManufacturerCommand    = getManufacturerCommand;
     _getManufacturersCommand   = getManufacturersCommand;
     _addManufacturerCommand    = addManufacturerCommand;
     _editManufacturerCommand   = editManufacturerCommand;
     _deleteManufacturerCommand = deleteManufacturerCommand;
 }
 public ManufacturerController(IGetManufacturersCommand getManufacturers, IGetManufacturerCommand getManufacturer, IAddManufacturerCommand addManufacturer, IEditManufacturerCommand editManufacturer, IDeleteManufacturerCommand deleteManufacturer)
 {
     _getManufacturers   = getManufacturers;
     _getManufacturer    = getManufacturer;
     _addManufacturer    = addManufacturer;
     _editManufacturer   = editManufacturer;
     _deleteManufacturer = deleteManufacturer;
 }