Esempio n. 1
0
 public List <Prediction> GetPredictions(Bet bet)
 {
     if (bet == null)
     {
         throw new ArgumentNullException(nameof(bet));
     }
     if (bet.Id == default(int))
     {
         throw new ArgumentException(nameof(bet));
     }
     return(_betRepository.GetPredictions(bet));
 }