Exemplo n.º 1
0
 public BatteryPowerSourceTypeController(IUpdateBatteryPowerSourceTypeService updateBatteryPowerSourceTypeService,
                                         ICreateBatteryPowerSourceTypeService createBatteryPowerSourceTypeService,
                                         IGetBatteryPowerSourceTypesService getBatteryPowerSourceTypesService,
                                         IDeleteBatteryPowerSourceTypeService deleteBatteryPowerSourceTypeService, IMapper mapper, IPermissionVerificationService permissionVerificationService)
 {
     this.updateBatteryPowerSourceTypeService = updateBatteryPowerSourceTypeService;
     this.createBatteryPowerSourceTypeService = createBatteryPowerSourceTypeService;
     this.getBatteryPowerSourceTypesService   = getBatteryPowerSourceTypesService;
     this.deleteBatteryPowerSourceTypeService = deleteBatteryPowerSourceTypeService;
     this.mapper = mapper;
     this.permissionVerificationService = permissionVerificationService;
 }
Exemplo n.º 2
0
 public SensorController(IGetSensorTypesService getSensorTypesService,
                         IGetSensorsService getSensorsService, ICreateSensorService createSensorService,
                         IUpdateSensorService updateSensorService, IDeleteSensorService deleteSensorService,
                         IGetPlacesService getPlacesService, IGetBatteryPowerSourceTypesService getBatteryPowerSourceTypesService,
                         IPermissionVerificationService permissionVerificationService)
 {
     this.getSensorTypesService             = getSensorTypesService;
     this.getSensorsService                 = getSensorsService;
     this.createSensorService               = createSensorService;
     this.updateSensorService               = updateSensorService;
     this.deleteSensorService               = deleteSensorService;
     this.getPlacesService                  = getPlacesService;
     this.getBatteryPowerSourceTypesService = getBatteryPowerSourceTypesService;
     this.permissionVerificationService     = permissionVerificationService;
 }