public ActionResult CadastrarVaga([Bind(Include = "VagaID, Disponivel")] Vaga vaga) { if (ModelState.IsValid) { VagaDAO.CadastrarVaga(vaga); return(RedirectToAction("MostrarVagas", "Historico")); } else { return(View(vaga)); } }