public async Task ConnectSensor(string sensorId) { await Groups.AddToGroupAsync(Context.ConnectionId, SENSOR_GROUP); await _sensorService.ConnectSensorAsync(sensorId, Context.ConnectionId); }
public async Task ConnectSensor(string sensorId) { await Groups.AddToGroupAsync(Context.ConnectionId, SENSOR_GROUP); await _sensorService.ConnectSensorAsync(sensorId, Context.ConnectionId); }