Example #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"
            });
        }
Example #2
0
 public void GetAllPredictionsTest()
 {
     PredictionsDatabaseRepository repository = new PredictionsDatabaseRepository();
     var result = repository.GetAllPredictions();
 }