public void AddContestContestant(int contestId, Contestant contestant)
 {
     Add(contestant);
     ContestContestantRepo.Add(new ContestContestant(contestId, contestant.Id));
 }
 public void AddContestScoreCriterion(int contestId, ScoreCriterion scoreCriterion)
 {
     Add(scoreCriterion);
     ContestScoreCriterionRepo.Add(new ContestScoreCriterion(contestId, scoreCriterion.Id));
 }
示例#3
0
 public void AddContestJudge(int contestId, Judge judge)
 {
     Add(judge);
     ContestJudgeRepo.Add(new ContestJudge(contestId, judge.Id));
 }
示例#4
0
 public void AddContestantPerformer(int contestantId, Performer performer)
 {
     Add(performer);
     ContestantPerformerRepo.Add(new ContestantPerformer(contestantId, performer.Id));
 }
示例#5
0
 public void AddShowContest(int showId, Contest contest)
 {
     Add(contest);
     ShowContestRepo.Add(new ShowContest(showId, contest.Id));
 }