Ejemplo n.º 1
0
 public IgracRedis(Igrac igrac)
 {
     id              = igrac.id;
     goals_scored    = igrac.goals_scored;
     assists         = igrac.assists;
     minutes         = igrac.minutes;
     yellow_cards    = igrac.yellow_cards;
     element_type    = igrac.element_type;
     red_cards       = igrac.red_cards;
     dreamteam_count = igrac.dreamteam_count;
     points_per_game = igrac.points_per_game;
     total_points    = igrac.total_points;
 }
Ejemplo n.º 2
0
        public Igrac(Igrac igrac, IgracRedis igracRedis)
        {
            id           = igrac.id;
            first_name   = igrac.first_name;
            second_name  = igrac.second_name;
            team         = igrac.team;
            element_type = igrac.element_type;

            goals_scored    = igracRedis.goals_scored;
            assists         = igracRedis.assists;
            minutes         = igracRedis.minutes;
            yellow_cards    = igracRedis.yellow_cards;
            red_cards       = igracRedis.red_cards;
            dreamteam_count = igracRedis.dreamteam_count;
            points_per_game = igracRedis.points_per_game;
            total_points    = igracRedis.total_points;
            klub            = igracRedis.klub;
        }