public ActionResult AddApplication(NAA.Data.Application application) { try { _applicationService.AddApplication(application); return(RedirectToAction("GetApplications", new { id = application.ApplicantId, Controller = "Applications" })); } catch { return(View()); } }
public ActionResult StartApplication(NAA.Data.Application application) { return(RedirectToAction("AddApplication", new { applicantId = application.ApplicantId, universityId = application.UniversityId })); }
public void AddApplication(NAA.Data.Application application) { _applicationDAO.AddApplication(application); }