public ActionResult Create()
 {
     RequisitionSkillsExpertiseEducationMatchingMatrix requisitionskillsexpertiseeducationmatchingmatrix = new RequisitionSkillsExpertiseEducationMatchingMatrix();
     ViewBag.PossibleRequisitions = requisitionRepository.All;
     ViewBag.PossibleSkillsExpEduCategories = skillsexpeducategoryRepository.All;
     ViewBag.PossibleSkillsExpEdus = skillsexpeduRepository.All;
     ViewBag.PossibleRatingScales = ratingscaleRepository.All;
     return View(requisitionskillsexpertiseeducationmatchingmatrix);
 }
 public ActionResult Create(RequisitionSkillsExpertiseEducationMatchingMatrix requisitionskillsexpertiseeducationmatchingmatrix)
 {
     if (ModelState.IsValid) {
         requisitionskillsexpertiseeducationmatchingmatrixRepository.InsertOrUpdate(requisitionskillsexpertiseeducationmatchingmatrix);
         requisitionskillsexpertiseeducationmatchingmatrixRepository.Save();
         return RedirectToAction("Index");
     } else {
         ViewBag.PossibleRequisitions = requisitionRepository.All;
         ViewBag.PossibleSkillsExpEduCategories = skillsexpeducategoryRepository.All;
         ViewBag.PossibleSkillsExpEdus = skillsexpeduRepository.All;
         ViewBag.PossibleRatingScales = ratingscaleRepository.All;
         return View(requisitionskillsexpertiseeducationmatchingmatrix);
     }
 }
 public void InsertOrUpdate(RequisitionSkillsExpertiseEducationMatchingMatrix requisitionskillsexpertiseeducationmatchingmatrix)
 {
     if (requisitionskillsexpertiseeducationmatchingmatrix.RequisitionSkillsExpertiseEducationMatchingMatrixID == default(int)) {
         // New entity
         context.RequisitionSkillsExpertiseEducationMatchingMatrix.Add(requisitionskillsexpertiseeducationmatchingmatrix);
     } else {
         // Existing entity
         context.Entry(requisitionskillsexpertiseeducationmatchingmatrix).State = EntityState.Modified;
     }
 }
 public ViewResult Search(RequisitionSkillsExpertiseEducationMatchingMatrix searchRequisitionSkillsExpertiseEducationMatchingMatrix)
 {
     if(searchRequisitionSkillsExpertiseEducationMatchingMatrix!=null)
     {
                     }
                 return View("Index",requisitionskillsexpertiseeducationmatchingmatrixRepository.AllIncluding(requisitionskillsexpertiseeducationmatchingmatrix => requisitionskillsexpertiseeducationmatchingmatrix.Requisition, requisitionskillsexpertiseeducationmatchingmatrix => requisitionskillsexpertiseeducationmatchingmatrix.SkillsExpEduCategory, requisitionskillsexpertiseeducationmatchingmatrix => requisitionskillsexpertiseeducationmatchingmatrix.SkillsExpEdu, requisitionskillsexpertiseeducationmatchingmatrix => requisitionskillsexpertiseeducationmatchingmatrix.RatingScale));
 }