Пример #1
0
 public UserDetails(User user, PaginationModel <GameInfo> games, Season selectedSeason, Season currentSeason, IEnumerable <SeasonSummary> seasonSummaries)
 {
     this.User            = user;
     this.Games           = games;
     this.SelectedSeason  = selectedSeason;
     this.CurrentSeason   = currentSeason;
     this.SeasonSummaries = seasonSummaries.ToList();
 }
 public WebLeaderboardViewModel(Season currentSeason, IEnumerable <RankedUser> users)
 {
     this.CurrentSeason = currentSeason;
     this.Users         = users.ToList();
 }