Esempio n. 1
0
        public void UpdatePredictionTest()
        {
            PredictionsDatabaseRepository repository = new PredictionsDatabaseRepository();
            var result = repository.GetAllPredictions().FirstOrDefault();

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