public IEnumerable<SemesterViewModel> CreateSemesters(int count)
        {
            var semesters = new List<SemesterViewModel>();
            for (int i = 0; i < count; i++)
            {
                var semester = new SemesterViewModel()
                {
                    Sequential = i + 1
                };
                if (i == count - 1)
                {
                    semester.Subjects.Add(subjectManagementService.GetDiplom());
                }
                semesters.Add(semester);

            }
            return semesters;
        }
 private void SaveSemester(SemesterViewModel viewModel, Semester semester)
 {
     semesterService.Save(semester);
     Mapper.Map<SemesterViewModel, Semester>(viewModel, semester);
     subjectManagementService.Save(viewModel.Subjects, semester);
 }