public ProblemGroupsBusinessService(
     IEfDeletableEntityRepository <ProblemGroup> problemGroups,
     IProblemGroupsDataService problemGroupsData,
     IContestsDataService contestsData,
     ISubmissionTypesDataService submissionTypesData)
 {
     this.problemGroups       = problemGroups;
     this.problemGroupsData   = problemGroupsData;
     this.contestsData        = contestsData;
     this.submissionTypesData = submissionTypesData;
 }
 public ProblemsController(
     IOjsData data,
     IContestsDataService contestsData,
     ICheckersDataService checkersData,
     IProblemsDataService problemsData,
     IProblemGroupsDataService problemGroupsData,
     IProblemResourcesDataService problemResourcesData,
     ISubmissionsDataService submissionsData,
     ISubmissionTypesDataService submissionTypesData,
     IProblemsBusinessService problemsBusiness)
     : base(data)
 {
     this.contestsData         = contestsData;
     this.checkersData         = checkersData;
     this.problemsData         = problemsData;
     this.problemGroupsData    = problemGroupsData;
     this.problemResourcesData = problemResourcesData;
     this.submissionsData      = submissionsData;
     this.submissionTypesData  = submissionTypesData;
     this.problemsBusiness     = problemsBusiness;
 }
Example #3
0
 public ProblemsBusinessService(
     IEfDeletableEntityRepository <Problem> problems,
     IContestsDataService contestsData,
     IParticipantScoresDataService participantScoresData,
     IProblemsDataService problemsData,
     IProblemResourcesDataService problemResourcesData,
     ISubmissionsDataService submissionsData,
     ISubmissionsForProcessingDataService submissionsForProcessingData,
     ITestRunsDataService testRunsData,
     ISubmissionTypesDataService submissionTypesData,
     IProblemGroupsBusinessService problemGroupsBusiness)
 {
     this.problems                     = problems;
     this.contestsData                 = contestsData;
     this.participantScoresData        = participantScoresData;
     this.problemsData                 = problemsData;
     this.problemResourcesData         = problemResourcesData;
     this.submissionsData              = submissionsData;
     this.submissionsForProcessingData = submissionsForProcessingData;
     this.testRunsData                 = testRunsData;
     this.submissionTypesData          = submissionTypesData;
     this.problemGroupsBusiness        = problemGroupsBusiness;
 }