public PlaceController(IGetPlacesService getPlacesService, ICreatePlaceService createPlaceService, IUpdatePlaceService updatePlaceService, IDeletePlaceService deletePlaceService, IPermissionVerificationService permissionVerificationService) { this.getPlacesService = getPlacesService; this.createPlaceService = createPlaceService; this.updatePlaceService = updatePlaceService; this.deletePlaceService = deletePlaceService; this.permissionVerificationService = permissionVerificationService; }
public FilesApiController(FileManagerConfiguration fileManagerConfiguration, IPermissionVerificationService permissionVerificationService) { this.fileManagerConfiguration = fileManagerConfiguration; this.permissionVerificationService = permissionVerificationService; operation = new PhysicalFileProvider(); // Assign the mapped path as root folder operation.RootFolder(fileManagerConfiguration.StoragePath); }
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; }
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; }
public UserController(ICreateUserService createUserService, IGetUsersService getUsersService, IUpdateUserService updateUserService, IChangePasswordService changePasswordService, IGetRolesService getRolesService, IDeleteUserService deleteUserService, IGetPermissionsService getPermissionsService, IPermissionVerificationService permissionVerificationService) { this.createUserService = createUserService; this.getUsersService = getUsersService; this.updateUserService = updateUserService; this.changePasswordService = changePasswordService; this.getRolesService = getRolesService; this.deleteUserService = deleteUserService; this.getPermissionsService = getPermissionsService; this.permissionVerificationService = permissionVerificationService; }
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; }
public TemperatureMeasurementController( IGetTemperatureMeasurementsService getTemperatureMeasurementsService, IGetSensorsService getSensorsService, IGetPlacesService getPlacesService, IDeleteTemperatureMeasurementService deleteTemperatureMeasurementService, ICreateTemperatureMeasurementService createTemperatureMeasurementService, IUpdateTemperatureMeasurementService updateTemperatureMeasurementService, IPermissionVerificationService permissionVerificationService) { this.getTemperatureMeasurementsService = getTemperatureMeasurementsService; this.getSensorsService = getSensorsService; this.getPlacesService = getPlacesService; this.deleteTemperatureMeasurementService = deleteTemperatureMeasurementService; this.createTemperatureMeasurementService = createTemperatureMeasurementService; this.updateTemperatureMeasurementService = updateTemperatureMeasurementService; this.permissionVerificationService = permissionVerificationService; }
public PermissionHandler(IPermissionVerificationService permissionVerificationService) { this.permissionVerificationService = permissionVerificationService; }