Beispiel #1
0
 public ArchivedSubmissionsBusinessService(
     IArchivedSubmissionsDataService archivedSubmissionsData,
     ISubmissionsBusinessService submissionsBusiness,
     IHangfireBackgroundJobService backgroundJobs)
 {
     this.archivedSubmissionsData = archivedSubmissionsData;
     this.submissionsBusiness     = submissionsBusiness;
     this.backgroundJobs          = backgroundJobs;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestsController"/> class.
 /// </summary>
 public TestsController(
     IOjsData data,
     IProblemsDataService problemsData,
     ISubmissionsDataService submissionsData,
     ITestRunsDataService testRunsData,
     ITestsDataService testsData,
     IProblemsBusinessService problemsBusiness,
     ISubmissionsBusinessService submissionsBusiness)
     : base(data)
 {
     this.problemsData        = problemsData;
     this.submissionsData     = submissionsData;
     this.testRunsData        = testRunsData;
     this.testsData           = testsData;
     this.problemsBusiness    = problemsBusiness;
     this.submissionsBusiness = submissionsBusiness;
 }