Exemple #1
0
 protected Voucher(IDictionary <Match, int> matches, int tax, Bookmaker bookmaker, int cash)
 {
     CashIn    = cash;
     Matches   = matches;
     Id        = Guid.NewGuid();
     Tax       = tax;
     Bookmaker = bookmaker;
 }
Exemple #2
0
 public static Voucher Create(IDictionary <Match, int> matches, int tax, Bookmaker SportsBetting, int cash)
 => new Voucher(matches, tax, SportsBetting, cash);