protected Tournament(Competition competition, string name, int level) { World = competition.World; Competition = competition; Name = name; Level = level; }
protected CompetitionSeason(Competition competition, DateTime startDate, DateTime endDate) { World = competition.World; Competition = competition; StartDate = startDate; EndDate = endDate; IsActive = true; }
public Cup(Competition competition, string name, int level, DayOfWeek dayOfWeek, int frequency, IEnumerable<CupStage> stages) : base(competition, name, level) { DayOfWeek = dayOfWeek; Frequency = frequency; Stages = stages.ToList(); for (int i = 0; i < Stages.Count; i++) { Stages[i].StageNumber = i + 1; } }