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