Exemple #1
0
 public ClassSchoolYearsChildEndpointSelector(
     string basePath,
     ChildEndpointFactory childEndpointFactory)
 {
     Subjects = childEndpointFactory
                .CreateChildEndpoint <ClassSchoolYearSubjectsEndpoint>(basePath + "/subjects");
     Lessons = childEndpointFactory
               .CreateChildEndpoint <ClassSchoolYearLessonsEndpoint>(basePath + "/lessons");
 }
Exemple #2
0
 public ClassSchoolYearSubjectsChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     Lessons = childEndpointFactory
               .CreateChildEndpoint <ClassSchoolYearSubjectLessonsEndpoint>(basePath + "/lessons");
     Teachers = childEndpointFactory
                .CreateChildEndpoint <ClassSchoolYearSubjectTeachersEndpoint>(basePath + "/teachers");
     Grades = childEndpointFactory
              .CreateChildEndpoint <ClassSchoolYearSubjectGradesEndpoint>(basePath + "/grades");
 }
Exemple #3
0
 public ClassSchoolYearSubjectStudentsChildEndpointSelector(string baseUrl, ChildEndpointFactory childEndpointFactory)
 {
     Grades = childEndpointFactory
              .CreateChildEndpoint <ClassSchoolYearSubjectStudentGradesEndpoint>(baseUrl + "/grades");
 }
Exemple #4
0
 public AnswersChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     TaskAnswers = childEndpointFactory.CreateChildEndpoint <TaskAnswersEndpoint>(basePath + "/task-answers");
 }
Exemple #5
0
 public HomeAssignmentsApi(ChildEndpointFactory childEndpointFactory)
 {
     Files     = childEndpointFactory.CreateChildEndpoint <FilesEndpoint>(BasePath + "/files");
     Homeworks = childEndpointFactory.CreateChildEndpoint <HomeworksEndpoint>(BasePath + "/homeworks");
     Solutions = childEndpointFactory.CreateChildEndpoint <SolutionsEndpoint>(BasePath + "/solutions");
 }
Exemple #6
0
 public TenantsChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     Users = childEndpointFactory
             .CreateChildEndpoint <TenantUsersEndpoint>(basePath + "/users");
 }
 public SolutionsChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     Files = childEndpointFactory.CreateChildEndpoint <SolutionFilesEndpoint>(basePath + "/files");
 }
Exemple #8
0
 public TestingApi(ChildEndpointFactory childEndpointFactory)
 {
     Tests   = childEndpointFactory.CreateChildEndpoint <TestsEndpoint>(BasePath + "/tests");
     Answers = childEndpointFactory.CreateChildEndpoint <AnswersEndpoint>(BasePath + "/test-answers");
     Tasks   = childEndpointFactory.CreateChildEndpoint <TasksEndpoint>(BasePath + "/tasks");
 }
 public HomeworksChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     Solutions = childEndpointFactory
                 .CreateChildEndpoint <HomeworkSolutionsEndpoint>(basePath + "/solutions");
 }
 public SchoolYearsChildEndpointSelector(
     string basePath,
     ChildEndpointFactory childEndpointFactory)
 {
     Classes = childEndpointFactory.CreateChildEndpoint <ClassSchoolYearsEndpoint>(basePath + "/classes");
 }
 public IdentityProviderApi(ChildEndpointFactory childEndpointFactory)
 {
     Tenants = childEndpointFactory.CreateChildEndpoint <TenantsEndpoint>(BasePath + "/tenants");
 }
 public SubjectsChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     Teachers = childEndpointFactory.CreateChildEndpoint <SubjectTeachersEndpoint>(basePath + "/teachers");
 }
Exemple #13
0
 public TestsChildEndpointSelector this[Guid testId] =>
 childEndpointFactory.CreateChildEndpoint <TestsChildEndpointSelector>(BasePath + $"/{testId}");
Exemple #14
0
 public TestsChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     Answers = childEndpointFactory.CreateChildEndpoint <TestAnswersEndpoint>(basePath + "/answers");
     Tasks   = childEndpointFactory.CreateChildEndpoint <TestTasksEndpoint>(basePath + "/tasks");
 }