Пример #1
0
 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());
 }
Пример #2
0
 public IActionResult AddSubjectsForGroup()
 {
     setService.SetObjects(fpmClient.CurrentGroup, subjectMapper.Map(rozkladClient.Subjects.Select(s => s.Title)).ToList());
     return(View("Index"));
 }