public async Task <Result> SetTrainingState(int dataCollectorId, bool isInTraining) =>
 await _dataCollectorService.SetTrainingState(dataCollectorId, isInTraining);
Exemple #2
0
 public void SetTrainingState_WhenDataCollectorDoesNotExist_ShouldThrowException()
 {
     Should.ThrowAsync <Exception>(() => _dataCollectorService.SetTrainingState(3, true));
 }