public ActionResult Create(SkillsExpEduCategory skillsexpeducategory)
 {
     if (ModelState.IsValid) {
         skillsexpeducategoryRepository.InsertOrUpdate(skillsexpeducategory);
         skillsexpeducategoryRepository.Save();
         return RedirectToAction("Index");
     } else {
         ViewBag.PossibleParentSkillsExpEduCategories = skillsexpeducategoryRepository.All;
         return View(skillsexpeducategory);
     }
 }
 public ViewResult Search(SkillsExpEduCategory searchSkillsExpEduCategory)
 {
     if(searchSkillsExpEduCategory!=null)
     {
                     }
                 return View("Index",skillsexpeducategoryRepository.AllIncluding(skillsexpeducategory => skillsexpeducategory.ParentSkillsExpEduCategory));
 }
 public ActionResult Create()
 {
     SkillsExpEduCategory skillsexpeducategory = new SkillsExpEduCategory();
     ViewBag.PossibleParentSkillsExpEduCategories = skillsexpeducategoryRepository.All;
     return View(skillsexpeducategory);
 }
 public void InsertOrUpdate(SkillsExpEduCategory skillsexpeducategory)
 {
     if (skillsexpeducategory.SkillsExpEduCategoryID == default(int)) {
         // New entity
         context.SkillsExpEduCategory.Add(skillsexpeducategory);
     } else {
         // Existing entity
         context.Entry(skillsexpeducategory).State = EntityState.Modified;
     }
 }