public ActionResult Create(InterviewQuestionAnswer interviewquestionanswer)
 {
     if (ModelState.IsValid) {
         interviewquestionanswerRepository.InsertOrUpdate(interviewquestionanswer);
         interviewquestionanswerRepository.Save();
         return RedirectToAction("Index");
     } else {
         ViewBag.PossibleSkillsExpEdus = skillsexpeduRepository.All;
         return View(interviewquestionanswer);
     }
 }
 public void InsertOrUpdate(InterviewQuestionAnswer interviewquestionanswer)
 {
     if (interviewquestionanswer.InterviewQuestionAnswerID == default(int)) {
         // New entity
         context.InterviewQuestionAnswer.Add(interviewquestionanswer);
     } else {
         // Existing entity
         context.Entry(interviewquestionanswer).State = EntityState.Modified;
     }
 }
 public ActionResult Create()
 {
     InterviewQuestionAnswer interviewquestionanswer = new InterviewQuestionAnswer();
     ViewBag.PossibleSkillsExpEdus = skillsexpeduRepository.All;
     return View(interviewquestionanswer);
 }
 public ViewResult Search(InterviewQuestionAnswer searchInterviewQuestionAnswer)
 {
     if(searchInterviewQuestionAnswer!=null)
     {
                     }
                 return View("Index",interviewquestionanswerRepository.AllIncluding(interviewquestionanswer => interviewquestionanswer.SkillsExpEdu));
 }