Beispiel #1
0
        public TeacherCardsList(string apiEndpoint)
        {
            InitializeComponent();

            ApiEndpoint = apiEndpoint;

            tcRepo   = new TeacherCardRepo(ApiEndpoint);
            tciRepo  = new TeacherCardItemRepo(ApiEndpoint);
            dRepo    = new DepartmentRepo(ApiEndpoint);
            tRepo    = new TeacherRepo(ApiEndpoint);
            pyrhRepo = new PositionYearRateHoursRepo(ApiEndpoint);
        }
Beispiel #2
0
        public PlanVsCardList(string apiEndpoint)
        {
            InitializeComponent();

            ApiEndpoint = apiEndpoint;

            sRepo    = new StudentRepo(ApiEndpoint);
            lpRepo   = new LearningPlanRepo(ApiEndpoint);
            lpdRepo  = new LearningPlanDisciplineRepo(ApiEndpoint);
            lpdsRepo = new LearningPlanDisciplineSemesterRepo(ApiEndpoint);
            tciRepo  = new TeacherCardItemRepo(ApiEndpoint);
            tRepo    = new TeacherRepo(ApiEndpoint);
        }