Пример #1
0
 public ContestsController(
     IOjsData data,
     IParticipantScoresDataService participantScoresData,
     IContestsDataService contestsData,
     IContestsBusinessService contestsBusiness,
     IParticipantsBusinessService participantsBusiness)
     : base(data)
 {
     this.participantScoresData = participantScoresData;
     this.contestsData          = contestsData;
     this.contestsBusiness      = contestsBusiness;
     this.participantsBusiness  = participantsBusiness;
 }
Пример #2
0
 public CompeteController(
     IOjsData data,
     ISubmissionsForProcessingDataService submissionsForProcessingData,
     IParticipantsBusinessService participantsBusiness,
     IParticipantsDataService participantsData,
     IContestsBusinessService contestsBusiness,
     IContestsDataService contestsData,
     IProblemsDataService problemsData)
     : base(data)
 {
     this.submissionsForProcessingData = submissionsForProcessingData;
     this.participantsBusiness         = participantsBusiness;
     this.participantsData             = participantsData;
     this.contestsBusiness             = contestsBusiness;
     this.contestsData = contestsData;
     this.problemsData = problemsData;
 }