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