public ProblemGroupsBusinessService(
     IEfDeletableEntityRepository <ProblemGroup> problemGroups,
     IProblemGroupsDataService problemGroupsData,
     IContestsDataService contestsData,
     ISubmissionTypesDataService submissionTypesData)
 {
     this.problemGroups       = problemGroups;
     this.problemGroupsData   = problemGroupsData;
     this.contestsData        = contestsData;
     this.submissionTypesData = submissionTypesData;
 }
Ejemplo n.º 2
0
 public SubmissionsBusinessService(
     IEfDeletableEntityRepository <Submission> submissions,
     ISubmissionsDataService submissionsData,
     IArchivedSubmissionsDataService archivedSubmissionsData,
     IParticipantScoresDataService participantScoresData)
 {
     this.submissions             = submissions;
     this.submissionsData         = submissionsData;
     this.archivedSubmissionsData = archivedSubmissionsData;
     this.participantScoresData   = participantScoresData;
 }
 public ContestsBusinessService(
     IEfDeletableEntityRepository <Contest> contests,
     IContestsDataService contestsData,
     IParticipantsDataService participantsData,
     IParticipantScoresDataService participantScoresData,
     IExamGroupsDataService examGroupsData)
 {
     this.contests              = contests;
     this.contestsData          = contestsData;
     this.participantsData      = participantsData;
     this.participantScoresData = participantScoresData;
     this.examGroupsData        = examGroupsData;
 }
Ejemplo n.º 4
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;
 }
Ejemplo n.º 5
0
 public ContestCategoriesDataService(IEfDeletableEntityRepository <ContestCategory> contestCategories) =>
 this.contestCategories = contestCategories;
 public ProblemGroupsDataService(IEfDeletableEntityRepository <ProblemGroup> problemGroups) =>
 this.problemGroups = problemGroups;
Ejemplo n.º 7
0
 public ContestsDataService(IEfDeletableEntityRepository <Contest> contests) =>
 this.contests = contests;
Ejemplo n.º 8
0
 public ProblemsDataService(IEfDeletableEntityRepository <Problem> problems) =>
 this.problems = problems;
Ejemplo n.º 9
0
 public TagService(IEfDeletableEntityRepository <Tag> tagRepo)
 {
     this.tagRepo = tagRepo;
 }
Ejemplo n.º 10
0
 public SubmissionsDataService(IEfDeletableEntityRepository <Submission> submissions) =>
 this.submissions = submissions;
Ejemplo n.º 11
0
 public ProblemResourcesDataService(IEfDeletableEntityRepository <ProblemResource> problemResources) =>
 this.problemResources = problemResources;
Ejemplo n.º 12
0
 public UsersDataService(IEfDeletableEntityRepository <UserProfile> users) =>
 this.users = users;
Ejemplo n.º 13
0
 public PostService(IEfDeletableEntityRepository <Post> postRepo, IUserService userService)
 {
     this.postRepo    = postRepo ?? throw new ArgumentNullException();
     this.userService = userService ?? throw new ArgumentNullException();
 }
Ejemplo n.º 14
0
 public CheckersDataService(IEfDeletableEntityRepository <Checker> checkers) =>
 this.checkers = checkers;
Ejemplo n.º 15
0
 public PageService(IEfDeletableEntityRepository <Page> pageRepo, IUserService userService)
 {
     this.pageRepo    = pageRepo ?? throw new ArgumentNullException();
     this.userService = userService;
 }