public void Remover(string nome) { ProfessorDAO dao = new ProfessorDAO(); dao.Remover(nome); }
public IActionResult Remover(int id) { _professorDAO.Remover(id); return(RedirectToAction("Index")); }
public void Remover(string nome) { ProfessorDAO dao = new ProfessorDAO(); dao.Remover(nome); }
public IActionResult Remover(int id) { _professorDAO.Remover(id); return(RedirectToAction("Index")); }