Пример #1
0
 public ActionResult AddApplication(NAA.Data.Application application)
 {
     try
     {
         _applicationService.AddApplication(application);
         return(RedirectToAction("GetApplications", new { id = application.ApplicantId, Controller = "Applications" }));
     }
     catch
     {
         return(View());
     }
 }
Пример #2
0
 public ActionResult StartApplication(NAA.Data.Application application)
 {
     return(RedirectToAction("AddApplication", new { applicantId = application.ApplicantId, universityId = application.UniversityId }));
 }
Пример #3
0
 public void AddApplication(NAA.Data.Application application)
 {
     _applicationDAO.AddApplication(application);
 }