Exemple #1
0
 public SensorTypeController(ICreateSensorTypeService createSensorTypeService,
                             IUpdateSensorTypeService updateSensorTypeService, IGetSensorTypesService getSensorTypesService,
                             IDeleteSensorTypeService deleteSensorTypeService, IPermissionVerificationService permissionVerificationService)
 {
     this.createSensorTypeService       = createSensorTypeService;
     this.updateSensorTypeService       = updateSensorTypeService;
     this.getSensorTypesService         = getSensorTypesService;
     this.deleteSensorTypeService       = deleteSensorTypeService;
     this.permissionVerificationService = permissionVerificationService;
 }
Exemple #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;
 }