public MarkTypeList(string apiEndpoint) { ApiEndpoint = apiEndpoint; InitializeComponent(); mtRepo = new MarkTypeRepo(ApiEndpoint); mtoRepo = new MarkTypeOptionRepo(ApiEndpoint); }
public MarkList(string apiEndpoint) { ApiEndpoint = apiEndpoint; InitializeComponent(); mRepo = new MarkRepo(ApiEndpoint); mtRepo = new MarkTeacherRepo(ApiEndpoint); sRepo = new StudentRepo(ApiEndpoint); lpRepo = new LearningPlanRepo(ApiEndpoint); lpdRepo = new LearningPlanDisciplineRepo(ApiEndpoint); lpdsRepo = new LearningPlanDisciplineSemesterRepo(ApiEndpoint); mtypeRepo = new MarkTypeRepo(ApiEndpoint); mtoRepo = new MarkTypeOptionRepo(ApiEndpoint); tRepo = new TeacherRepo(ApiEndpoint); }