Beispiel #1
0
 public static bool ValidNrOfGames(SvenskaSpelDraw draw)
 {
     return(draw.BettingEvents.Count == 0 || ((
                                                  (draw.ProductName.Equals("Europatipset", StringComparison.CurrentCultureIgnoreCase) || draw.ProductName.Equals("Stryktipset", StringComparison.CurrentCultureIgnoreCase)) && draw.BettingEvents.Count == 13) ||
                                              (draw.ProductName.Equals("Topptipset", StringComparison.CurrentCultureIgnoreCase) && draw.BettingEvents.Count == 8)
                                              ));
 }