public void UpdatePredictionTest() { PredictionsDatabaseRepository repository = new PredictionsDatabaseRepository(); var result = repository.GetAllPredictions().FirstOrDefault(); repository.UpdatePrediction(new PredictionDto { Id = result.Id, PredictionText = "Some new text2" }); }
public void GetAllPredictionsTest() { PredictionsDatabaseRepository repository = new PredictionsDatabaseRepository(); var result = repository.GetAllPredictions(); }