ویومدل درج ساقه آموزشی
 public virtual async Task<ActionResult> Create(AddEducationalExperienceViewModel viewModel)
 {
      if (!ModelState.IsValid)
     {
         return new JsonNetResult
         {
             Data = new
             {
                 success = false,
                 View =
                     this.RenderPartialViewToString(MVC.EducationalExperience.Views._Create, viewModel)
             }
         };
     }
     var newEducationalExperience = await _educationalExperienceService.Create(viewModel);
     return new JsonNetResult
     {
         Data = new
         {
             success = true,
             View =
                 this.RenderPartialViewToString(MVC.EducationalExperience.Views._EducationalExperienceItem, newEducationalExperience)
         }
     };
 }
 public async Task<EducationalExperienceViewModel> Create(AddEducationalExperienceViewModel viewModel)
 {
     var educationalExperience = _mappingEngine.Map<EducationalExperience>(viewModel);
     educationalExperience.CreatorId = _userManager.GetCurrentUserId();
     _educationalExperiences.Add(educationalExperience);
     await _unitOfWork.SaveChangesAsync();
     return await GetEducationalExperienceViewModel(educationalExperience.Id);
 }
 public virtual async Task<ActionResult> Create(AddEducationalExperienceViewModel viewModel)
 {
     if (!_referentialTeacherService.CanManageTeacher(viewModel.TeacherId)) return HttpNotFound();
     if (!ModelState.IsValid)
     {
         await _educationalExperienceService.FillAddViewModel(viewModel);
         return new JsonNetResult
         {
             Data = new
             {
                 success = false,
                 View =
                     this.RenderPartialViewToString(MVC.ScientificTeaching.Views._Create, viewModel)
             }
         };
     }
     var newScientificTeaching = await _educationalExperienceService.Create(viewModel);
     return new JsonNetResult
     {
         Data = new
         {
             success = true,
             View =
                 this.RenderPartialViewToString(MVC.ScientificTeaching.Views._ScientificTeachingItem, newScientificTeaching)
         }
     };
 }
 public async Task FillAddViewModel(AddEducationalExperienceViewModel viewModel)
 {
     viewModel.Titles = await _titleService.GetAsSelectListItemAsync(TitleType.CourseContent, null);
 }
 public virtual  ActionResult Create(Guid applicantId)
 {
     var viewModel = new AddEducationalExperienceViewModel {ApplicantId = applicantId};
     return PartialView(MVC.EducationalExperience.Views._Create,viewModel);
 }