public IActionResult AddTeachersForSubject() { foreach (var item in rozkladClient.Teachers) { setService.SetObjects(service.Teachers[item.Name], subjectMapper.Map(rozkladClient.GetTeachersBySubject()[item.Name].Select(s => s.Title)).ToList()); } return(View()); }
public IActionResult AddSubjectsForGroup() { setService.SetObjects(fpmClient.CurrentGroup, subjectMapper.Map(rozkladClient.Subjects.Select(s => s.Title)).ToList()); return(View("Index")); }