public ActionResult CreateTransport([Bind(Exclude = "Id_Transport")] Transport transport) { try { if (transportDAO.CreateTransport(transport)) { return(Redirect("GetAllTransports")); } else { return(View("CreateTransport")); } } catch { return(View("CreateTransport")); } }