public ActionResult AdicionarResponsavel(Responsavel responsavel) { if (ModelState.IsValid) { if (responsavel.ValidaData(responsavel)) { responsavelsDAO.Adicionar(responsavel); return(RedirectToAction("Index", "Responsavel")); } } TempData["msg"] = "Data de nascimento inválida"; return(View(responsavel)); }