public ActionResult Create(Applicant fosterApplicant) { if (ModelState.IsValid) { try { // TODO: Add insert logic here _applicantManager.AddFosterApplicant(fosterApplicant); TempData["successMessage"] = string.Format("Application Submitted Successfully!"); return(RedirectToAction("SuccessDetails")); } catch { TempData["errorMessage"] = string.Format("Application Not Submitted"); return(View()); } } return(View()); }// End Create(Applicant fosterApplicant)