public TimetableController(FpmClient fpmClient, RozkladClient rozkladClient, ResultLessonsMapper resultLessonsMapper, MappingService mappingService) { this.rozkladClient = rozkladClient; this.fpmClient = fpmClient; mapper = resultLessonsMapper; this.mappingService = mappingService; }
public SubjectsController(FpmClient fpmClient, RozkladClient rozkladClient, MappingService service, SetService <FpmGroup> setService, IMapper <string, FpmSubject> subjectMapper) { this.rozkladClient = rozkladClient; this.fpmClient = fpmClient; this.service = service; this.setService = setService; this.subjectMapper = subjectMapper; }
public TeachersController(FpmClient fpmClient, RozkladClient rozkladClient, MappingService service, SetService <FpmTeacher> setService, IMapper <string, FpmTeacher> teacherMapper, IMapper <string, FpmSubject> subjectMapper) { this.rozkladClient = rozkladClient; this.fpmClient = fpmClient; this.service = service; this.setService = setService; this.teacherMapper = teacherMapper; this.subjectMapper = subjectMapper; }
private void Select_Click(object sender, EventArgs e) { var group = fpmClient.Groups.Where(g => g.Name == textBox1.Text).FirstOrDefault(); if (group != null && !String.IsNullOrWhiteSpace(group.Id)) { fpmClient.CurrentGroup = group; rozkladClient = new RozkladClient(); rozkladClient.Group = group.Name; GetTimeTable(); checker = new TimeTableLibrary.GitHelpers.ShareMappingService(fpmClient, rozkladClient, new TimeTableLibrary.Mappers.RozkladMappers.RozkladSubjectMapper(rozkladClient), new TimeTableLibrary.Mappers.RozkladMappers.RozkladTeacherMapper(rozkladClient), new TimeTableLibrary.Mappers.FpmMappers.FpmSubjectMapper(fpmClient), new TimeTableLibrary.Mappers.FpmMappers.FpmTeacherMapper(fpmClient)); MapSubjects.Enabled = true; MapTeachers.Enabled = true; EnablingChanges(); } }
public RozkladTeacherMapper(RozkladClient client) { this.client = client; }
public HomeController(FpmClient fpmClient, RozkladClient rozkladClient, MappingService service) { this.fpmClient = fpmClient; this.rozkladClient = rozkladClient; this.service = service; }
public RozkladSubjectMapper(RozkladClient client) { this.client = client; }
public TeachersMapping(FpmClient fpmClient, RozkladClient rozkladClient) : this() { this.fpmClient = fpmClient; this.rozkladClient = rozkladClient; mappedTeachers = new Dictionary <string, string>(); }
public SubjectsMapping(FpmClient fpmClient, RozkladClient rozkladClient) : this() { this.fpmClient = fpmClient; this.rozkladClient = rozkladClient; mappedSubjects = new Dictionary <string, string>(); }