public Wrestler(Wrestler wrestler) { BirthDay = wrestler.BirthDay; Age = wrestler.Age; FirstName = wrestler.FirstName; LastName = wrestler.LastName; School = wrestler.School; WrestlerId = wrestler.WrestlerId; }
public Point(Point point) { PointValue = point.PointValue; MethodScored = point.MethodScored; HomeScored = point.HomeScored; HomeWrestler = new Wrestler(point.HomeWrestler); AwayWrestler = new Wrestler(point.AwayWrestler); VideoDirectory = point.VideoDirectory; }
public Match(Match match) { WeightClass = match.WeightClass; HomeWrestler = new Wrestler(match.HomeWrestler); AwayWrestler = new Wrestler(match.AwayWrestler); MatchName = match.MatchName; foreach (var point in match.PointsScored) { Point newPoint = new Point(point); { PointsScored.Add(newPoint); } } }