public override void Cleanup() { _sensorsAreActive = true; SensorCommand.Execute(null); RaiseReset(); _editor.ResetViewModel(); _keyboardViewModel.ResetViewModel(); base.Cleanup(); }
public async Task PostData(SensorCommand sensorDataCommand) { await _context.SensorCommand.InsertOneAsync(sensorDataCommand); }