public ProblemGroupsController( IOjsData data, IProblemGroupsDataService problemGroupsData, IProblemGroupsBusinessService problemGroupsBusiness, IContestsDataService contestsData) : base(data) { this.problemGroupsData = problemGroupsData; this.problemGroupsBusiness = problemGroupsBusiness; this.contestsData = contestsData; }
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; }