public ActionResult Create(RequisitionInterviewType requisitioninterviewtype)
 {
     if (ModelState.IsValid) {
         requisitioninterviewtypeRepository.InsertOrUpdate(requisitioninterviewtype);
         requisitioninterviewtypeRepository.Save();
         return RedirectToAction("Index");
     } else {
         return View(requisitioninterviewtype);
     }
 }
 public ViewResult Search(RequisitionInterviewType searchRequisitionInterviewType)
 {
     if(searchRequisitionInterviewType!=null)
     {
                     }
                 return View("Index",requisitioninterviewtypeRepository.All);
 }
 public ActionResult Create()
 {
     RequisitionInterviewType requisitioninterviewtype = new RequisitionInterviewType();
     return View(requisitioninterviewtype);
 }
 public void InsertOrUpdate(RequisitionInterviewType requisitioninterviewtype)
 {
     if (requisitioninterviewtype.RequisitionInterviewTypeID == default(int)) {
         // New entity
         context.RequisitionInterviewType.Add(requisitioninterviewtype);
     } else {
         // Existing entity
         context.Entry(requisitioninterviewtype).State = EntityState.Modified;
     }
 }