Esempio n. 1
0
 public ClassSchoolYearsChildEndpointSelector(
     string basePath,
     ChildEndpointFactory childEndpointFactory)
 {
     Subjects = childEndpointFactory
                .CreateChildEndpoint <ClassSchoolYearSubjectsEndpoint>(basePath + "/subjects");
     Lessons = childEndpointFactory
               .CreateChildEndpoint <ClassSchoolYearLessonsEndpoint>(basePath + "/lessons");
 }
Esempio n. 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");
 }
Esempio n. 3
0
 public ClassSchoolYearSubjectStudentsChildEndpointSelector(string baseUrl, ChildEndpointFactory childEndpointFactory)
 {
     Grades = childEndpointFactory
              .CreateChildEndpoint <ClassSchoolYearSubjectStudentGradesEndpoint>(baseUrl + "/grades");
 }
Esempio n. 4
0
 public AnswersChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     TaskAnswers = childEndpointFactory.CreateChildEndpoint <TaskAnswersEndpoint>(basePath + "/task-answers");
 }
Esempio n. 5
0
 public HomeAssignmentsApi(ChildEndpointFactory childEndpointFactory)
 {
     Files     = childEndpointFactory.CreateChildEndpoint <FilesEndpoint>(BasePath + "/files");
     Homeworks = childEndpointFactory.CreateChildEndpoint <HomeworksEndpoint>(BasePath + "/homeworks");
     Solutions = childEndpointFactory.CreateChildEndpoint <SolutionsEndpoint>(BasePath + "/solutions");
 }
Esempio n. 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");
 }
Esempio n. 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");
 }
Esempio n. 11
0
 public IdentityProviderApi(ChildEndpointFactory childEndpointFactory)
 {
     Tenants = childEndpointFactory.CreateChildEndpoint <TenantsEndpoint>(BasePath + "/tenants");
 }
 public SubjectsChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     Teachers = childEndpointFactory.CreateChildEndpoint <SubjectTeachersEndpoint>(basePath + "/teachers");
 }
Esempio n. 13
0
 public TestsChildEndpointSelector this[Guid testId] =>
 childEndpointFactory.CreateChildEndpoint <TestsChildEndpointSelector>(BasePath + $"/{testId}");
Esempio n. 14
0
 public TestsChildEndpointSelector(string basePath, ChildEndpointFactory childEndpointFactory)
 {
     Answers = childEndpointFactory.CreateChildEndpoint <TestAnswersEndpoint>(basePath + "/answers");
     Tasks   = childEndpointFactory.CreateChildEndpoint <TestTasksEndpoint>(basePath + "/tasks");
 }