Пример #1
0
        public static SeasonResource Create(Season season, SeasonLinks seasonLinks)
        {
            var seasonResource = new SeasonResource(seasonLinks)
             {
            Name = season.Name
             };

             return seasonResource;
        }
Пример #2
0
 public GameResource(SeasonResource thisSeason, TeamResource myTeam, GameLinks links)
     : base(links)
 {
     MyTeam = myTeam;
      ThisSeason = thisSeason;
 }