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