Exemple #1
0
 public ActionResult Create(Requests request)
 {
     try
     {
         if (requestDAO.addRequest(request))
         {
             return(RedirectToAction("Create", "Pasport"));
         }
         else
         {
             return(View("Create"));
         }
     }
     catch
     {
         return(View("Create"));
     }
 }