public ActionResult Create()
 {
     ApplicantDocumentTracking applicantdocumenttracking = new ApplicantDocumentTracking();
     ViewBag.PossibleApplicants = applicantRepository.All;
     ViewBag.PossibleApplicantDocumentCategories = applicantdocumentcategoryRepository.All;
     ViewBag.PossibleApplicantDocuments = applicantdocumentRepository.All;
     ViewBag.PossibleVerifiedByUsers = userRepository.All;
     ViewBag.PossibleApplicantDocumentStatusCategories = applicantdocumentstatuscategoryRepository.All;
     return View(applicantdocumenttracking);
 }
 public ActionResult Create(ApplicantDocumentTracking applicantdocumenttracking)
 {
     if (ModelState.IsValid) {
         applicantdocumenttrackingRepository.InsertOrUpdate(applicantdocumenttracking);
         applicantdocumenttrackingRepository.Save();
         return RedirectToAction("Index");
     } else {
         ViewBag.PossibleApplicants = applicantRepository.All;
         ViewBag.PossibleApplicantDocumentCategories = applicantdocumentcategoryRepository.All;
         ViewBag.PossibleApplicantDocuments = applicantdocumentRepository.All;
         ViewBag.PossibleVerifiedByUsers = userRepository.All;
         ViewBag.PossibleApplicantDocumentStatusCategories = applicantdocumentstatuscategoryRepository.All;
         return View(applicantdocumenttracking);
     }
 }
 public ViewResult Search(ApplicantDocumentTracking searchApplicantDocumentTracking)
 {
     if(searchApplicantDocumentTracking!=null)
     {
                     }
                 return View("Index",applicantdocumenttrackingRepository.AllIncluding(applicantdocumenttracking => applicantdocumenttracking.Applicant, applicantdocumenttracking => applicantdocumenttracking.ApplicantDocumentCategory, applicantdocumenttracking => applicantdocumenttracking.ApplicantDocument, applicantdocumenttracking => applicantdocumenttracking.VerifiedByUser, applicantdocumenttracking => applicantdocumenttracking.ApplicantDocumentStatusCategory));
 }