public IndexPageViewModel(ITournament t, ISubmittedBets sb, IResults actual) { _tournament = t; CreateGroups(); CreateBetterlist(sb.GetBetters(), sb, actual); MarkWinnerIfFinished(actual); TimeStamp = actual.GetTimeStamp(); }
public IndexPageViewModel(ITournament t, ISubmittedBets sb, IResultCollection rc) { _tournament = t; CreateGroups(); CreateBetterlist(sb.GetBetters(), sb, rc); EvaluateTrends(); MarkWinnerIfFinished(rc.Current); TimeStamp = rc.Current.GetTimeStamp(); }